Created
July 21, 2018 08:00
-
-
Save traderbagel/e2604954c1d0705c3f5c06a862b77638 to your computer and use it in GitHub Desktop.
web3.py query transaction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> web3.eth.getTransaction('0x0580de11247af326aa6e71d8e3b9cb5dc23fca864bc77c0efe486110f5a8feff') | |
AttributeDict({'blockHash': HexBytes('0x611b64517783220be6f16efa1323330b689e65eff2205bd1a11ab2ea2bb556da'), | |
'blockNumber': 6002459, | |
'from': '0x5f779Da58fF7a374e0d89E0FE65390aEeE3E44e4', | |
'gas': 21000, | |
'gasPrice': 7000000000, | |
'hash': HexBytes('0x0580de11247af326aa6e71d8e3b9cb5dc23fca864bc77c0efe486110f5a8feff'), | |
'input': '0x', | |
'nonce': 827, | |
'r': HexBytes('0x82a76f3db1f2ae27fdef70d34437db49e2a0505b55569344a48ad884bb21ce8c'), | |
's': HexBytes('0x11e4ebd990009250f1227142c175548a0608a28a901a6718368a3fbd3a4f3376'), | |
'to': '0xbD721D6Fc91AE8d57e205e1b34837c3094a69FDE', | |
'transactionIndex': 50, | |
'v': 27, | |
'value': 3865575000000000000}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment