-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no value retuned for transaction? #1246
Comments
From the code it looks like you were a) connecting to a local testrpc instance and b) (from the comment in) looking to find a transaction that was visible on the mainnet via etherscan. The result you got - a null - is correct. There is no such transaction on your local testrpc. This is not a bug. If you want to use web3js to lookup live transactions on the mainnet, then you need to connect to a web3 provider on the mainnet. You have options for that from running your own parity or geth node to using Infura or similar, to using MetaMask if this is in a browser. |
This appears to be user error and not a bug. If so, it might be best to mark this issue resolved, close it, and continue the discussion on gitter. |
okay, thanks. |
I am running parity and then this code
in node.js; the output is:
why?
also tried this code:
the result was
The text was updated successfully, but these errors were encountered: