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
- 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 before 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
- accessListarray
A list of addresses and storage keys that the transaction plans to access
- blockTimestampstring
The timestamp of the block containing this transaction, encoded as a hexadecimal value.
- chainIdstring
The chain id of the transaction, if any
- 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": "0x3efeffd571d944e1dac62634711c39ef842206499a09cd618fe9ac1db6f12ce9",6"blockNumber": "0xcedca",7"from": "0x21c3de23d98caddc406e3d31b25e807addf33633",8"gas": "0x1b40d0",9"gasPrice": "0xcf31b273",10"hash": "0xc15a19fd1e57df6b46ce9942fbcb8748ed9c8cfade34d36c3968c73f25e222f3",11"input": "0xb143044b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000038de71124f7a447a01d67945a51edce9ff49125100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006552568500000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000084704316e500000000000000000000000000000000000000000000000000000000000000b8675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000a675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082ff38d1c8194b91dc7583b92e71f24392fecf39f7ccf437d2371cbe489c29a43e2886fbd902fb76fb7a8146a7af278ac99505407bf64d9b2ecc64805903dac1641b99da0f57306966ca072add7ccf787b7013a22b901217e0d713285db53fcf0492596e5bc662ec0d092ab3874b810b9887e914743ebb857cb5d8d1ed26f48b0a791b000000000000000000000000000000000000000000000000000000000000",12"nonce": "0x67bea",13"to": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",14"transactionIndex": "0x1",15"value": "0x0",16"type": "0x0",17"chainId": "0xe708",18"v": "0x1ce34",19"r": "0x5709685835d925cd5947fbf9bd21b5a286f9c0fd9fd477d90dadc251e07acfbc",20"s": "0x4dc005d654eed1f80db8d97551603b1b99aa94194f986c73471fd21eba0ad000"21}22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x3efeffd571d944e1dac62634711c39ef842206499a09cd618fe9ac1db6f12ce9",6"blockNumber": "0xcedca",7"from": "0x21c3de23d98caddc406e3d31b25e807addf33633",8"gas": "0x1b40d0",9"gasPrice": "0xcf31b273",10"hash": "0xc15a19fd1e57df6b46ce9942fbcb8748ed9c8cfade34d36c3968c73f25e222f3",11"input": "0xb143044b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000038de71124f7a447a01d67945a51edce9ff49125100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006552568500000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000084704316e500000000000000000000000000000000000000000000000000000000000000b8675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000a675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082ff38d1c8194b91dc7583b92e71f24392fecf39f7ccf437d2371cbe489c29a43e2886fbd902fb76fb7a8146a7af278ac99505407bf64d9b2ecc64805903dac1641b99da0f57306966ca072add7ccf787b7013a22b901217e0d713285db53fcf0492596e5bc662ec0d092ab3874b810b9887e914743ebb857cb5d8d1ed26f48b0a791b000000000000000000000000000000000000000000000000000000000000",12"nonce": "0x67bea",13"to": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",14"transactionIndex": "0x1",15"value": "0x0",16"type": "0x0",17"chainId": "0xe708",18"v": "0x1ce34",19"r": "0x5709685835d925cd5947fbf9bd21b5a286f9c0fd9fd477d90dadc251e07acfbc",20"s": "0x4dc005d654eed1f80db8d97551603b1b99aa94194f986c73471fd21eba0ad000"21}22}