Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- objectobject
The transaction response object, or null if no transaction is found:
- hashstring
The hash of the transaction
- noncestring
The number of transactions made by the sender before this one encoded as hexadecimal
- blockHashstring
The hash of the block where this log was in. null when it's a pending log
- blockNumberstring
The block number where this log was in. null when it's a pending log
- transactionIndexstring
The integer of the transaction's index position that the log was created from. null when it's a pending log
- fromstring
The address of the sender
- tostring
The address of the receiver. null when it's a contract creation transaction
- valuestring
The value transferred in wei encoded as hexadecimal
- gasPricestring
The gas price provided by the sender in wei, encoded as hexadecimal
- gasstring
The gas provided by the sender, encoded as hexadecimal
- inputstring
The data sent along with the transaction
- vstring
The standardized V field of the signature
- rstring
The R field of the signature
- sstring
The S field of the signature
- typestring
The transaction type
- chainIdstring
The chain id of the transaction, if any
1{2"jsonrpc": "2.0",3"result": {4"type": "0x0",5"chainId": "0x8f",6"nonce": "0x3cf66c",7"gasPrice": "0x0",8"gas": "0x0",9"to": "0x0000000000000000000000000000000000001000",10"value": "0x15af1d78b58c40000",11"input": "0x791bdcf3000000000000000000000000fab47252753ecd46d75430ac75fe1e3d469e5722",12"r": "0x5eca9eef7bac06859ac7cc15b7857bf2218c4414ab3798c2f385c67679563de8",13"s": "0x21247e50315a7a56890df716479694625dda364e357d91d6d29d6ba1fdf79ed0",14"v": "0x142",15"hash": "0xc1999af8cea3f68712d427bbd5f4ccd08d7d8a052cbe9b95babb6d7c19ad9732",16"blockHash": "0x25df06205e4850c2c9aab4884c76373ccc359d656871a58573648ffecc3f4180",17"blockNumber": "0x23f41f1",18"transactionIndex": "0x0",19"from": "0x6f49a8f621353f12378d0046e7d7e4b9b249dc9e"20},21"id": 122}
1{2"jsonrpc": "2.0",3"result": {4"type": "0x0",5"chainId": "0x8f",6"nonce": "0x3cf66c",7"gasPrice": "0x0",8"gas": "0x0",9"to": "0x0000000000000000000000000000000000001000",10"value": "0x15af1d78b58c40000",11"input": "0x791bdcf3000000000000000000000000fab47252753ecd46d75430ac75fe1e3d469e5722",12"r": "0x5eca9eef7bac06859ac7cc15b7857bf2218c4414ab3798c2f385c67679563de8",13"s": "0x21247e50315a7a56890df716479694625dda364e357d91d6d29d6ba1fdf79ed0",14"v": "0x142",15"hash": "0xc1999af8cea3f68712d427bbd5f4ccd08d7d8a052cbe9b95babb6d7c19ad9732",16"blockHash": "0x25df06205e4850c2c9aab4884c76373ccc359d656871a58573648ffecc3f4180",17"blockNumber": "0x23f41f1",18"transactionIndex": "0x0",19"from": "0x6f49a8f621353f12378d0046e7d7e4b9b249dc9e"20},21"id": 122}