Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- objectobject | null
The transaction response object, or null if no transaction is found:
- blockHashstring | null
The hash of the block where this log was in. null when it's a pending log
- blockNumberstring | null
The block number where this log was in. null when it's a pending log
- blockTimestampstring
The unix timestamp for when the block was collated, encoded as hexadecimal.
- fromstring
The address of the sender
- gasstring
The gas provided by the sender, encoded as hexadecimal
- gasPricestring
The gas price provided by the sender in wei, encoded as hexadecimal
- hashstring
The hash of the transaction
- inputstring
The data sent along with the transaction
- noncestring
The number of transactions made by the sender prior to this one encoded as hexadecimal
- tostring | null
The address of the receiver. null when it's a contract creation transaction
- transactionIndexstring | null
The integer of the transaction's index position that the log was created from. null when it's a pending log
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type
- chainIdstring
The chain id
- vstring
The standardized V field of the signature
- rstring
The R field of the signature
- sstring
The S field of the signature
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xc7b595d2adb6adf52cca9a2ce98df53b0c2a3368f071c0886acc76710992bbc4",6"blockNumber": "0x3bc199a",7"blockTimestamp": "0x6621253c",8"from": "0x8d355acb5d58bfb02770e3fe9be95d9ebf5c47ee",9"gas": "0x1d55f09c",10"gasPrice": "0x1312d00",11"hash": "0x16331e9542f7f33009759ad26dfe865a1c2db4ba23c273744706d2db37d73418",12"input": "0x414bf389000000000000000000000000201eba5cc46d216ce6dc03f6a759e8e766e956ae00000000000000000000000078c1b0c915c4faa5fffa6cabf0219da63d7f4cb800000000000000000000000000000000000000000000000000000000000001f40000000000000000000000008d355acb5d58bfb02770e3fe9be95d9ebf5c47ee0000000000000000000000000000000000000000000000000000000066212559000000000000000000000000000000000000000000000000000000000004ebc400000000000000000000000000000000000000000000000003e05b59054e5add00000000000000000000000000000000000c3cc5000000000000000000000000",13"nonce": "0x33e7",14"to": "0x319b69888b0d11cec22caa5034e25fffbdc88421",15"transactionIndex": "0xd",16"value": "0x0",17"type": "0x0",18"chainId": "0x1388",19"v": "0x2734",20"r": "0xeba7e0efeb8369699e8b94af07ddf71b16175d1b9691cc2d1c7c26471dbf3aef",21"s": "0x6b9aac1b5da11d75dd94e41e9912f3cd644598303eb40cddc89d26df6f41da03"22}23}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xc7b595d2adb6adf52cca9a2ce98df53b0c2a3368f071c0886acc76710992bbc4",6"blockNumber": "0x3bc199a",7"blockTimestamp": "0x6621253c",8"from": "0x8d355acb5d58bfb02770e3fe9be95d9ebf5c47ee",9"gas": "0x1d55f09c",10"gasPrice": "0x1312d00",11"hash": "0x16331e9542f7f33009759ad26dfe865a1c2db4ba23c273744706d2db37d73418",12"input": "0x414bf389000000000000000000000000201eba5cc46d216ce6dc03f6a759e8e766e956ae00000000000000000000000078c1b0c915c4faa5fffa6cabf0219da63d7f4cb800000000000000000000000000000000000000000000000000000000000001f40000000000000000000000008d355acb5d58bfb02770e3fe9be95d9ebf5c47ee0000000000000000000000000000000000000000000000000000000066212559000000000000000000000000000000000000000000000000000000000004ebc400000000000000000000000000000000000000000000000003e05b59054e5add00000000000000000000000000000000000c3cc5000000000000000000000000",13"nonce": "0x33e7",14"to": "0x319b69888b0d11cec22caa5034e25fffbdc88421",15"transactionIndex": "0xd",16"value": "0x0",17"type": "0x0",18"chainId": "0x1388",19"v": "0x2734",20"r": "0xeba7e0efeb8369699e8b94af07ddf71b16175d1b9691cc2d1c7c26471dbf3aef",21"s": "0x6b9aac1b5da11d75dd94e41e9912f3cd644598303eb40cddc89d26df6f41da03"22}23}