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 transaction was in. Null when it's a pending log
- blockNumberstring | null
The block number where this transaction 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
- gatewayFeestring
(Optional) The gateway fee paid for the transaction encoded as hexadecimal
- maxFeePerGasstring
(Optional) The maximum fee per gas set in the transaction
- maxPriorityFeePerGasstring
(Optional) The maximum priority gas fee set in the transaction
- 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 its 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
(Optional) A list of addresses and storage keys that the transaction plans to access
- chainIdstring
(Optional) 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
- ethCompatibleboolean
(Optional) Whether the transaction is Ethereum-compatible
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xf58e4702ceb7dd37bece54fc12c41144c123bcfc9ec80634110b836120ade52c",6"blockNumber": "0xf12681",7"from": "0xc20fdff83235df9521ef5872ae398220ca874263",8"gas": "0xee582",9"gasPrice": "0x5f767a0",10"hash": "0x6b8a7011b5b49205a6cad3f06f63118daac041ef348b59f2b52ab78e1e2b5de9",11"input": "0xe5546f3700000000000000000000000000000000000000000000000340aad21b3b700000000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000471ece3750da237f93b8e339c536989b8978a43800000000000000000000000062d5b84be28a183abb507e125b384122d2c25fae000000000000000000000000e3d8bd6aed4f159bc8000a9cd47cffdb95f961210000000000000000000000001421bde4b10e8dd459b3bcb598810b1337d56842000000000000000000000000055aec00dc22bfca3f2acf092148bddf218e1ac7000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c20fdff83235df9521ef5872ae398220ca8742630000000000000000000000000000000000000000000000000000000000000003000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000122013fd7df1c6f636a5bb8f03108e876548b455000000000000000000000000471ece3750da237f93b8e339c536989b8978a438",12"nonce": "0x954c2",13"to": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",14"transactionIndex": "0x3",15"value": "0x0",16"type": "0x0",17"chainId": "0xa4ec",18"v": "0x149fb",19"r": "0x5f2fa059a750c6fa4864d1edba04d41ee11e732f295bee33dc7414e878750027",20"s": "0xa6045a9ca3a579fcefff025e552da774194e0ff114ec19e08e97d116fd1e60"21}22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xf58e4702ceb7dd37bece54fc12c41144c123bcfc9ec80634110b836120ade52c",6"blockNumber": "0xf12681",7"from": "0xc20fdff83235df9521ef5872ae398220ca874263",8"gas": "0xee582",9"gasPrice": "0x5f767a0",10"hash": "0x6b8a7011b5b49205a6cad3f06f63118daac041ef348b59f2b52ab78e1e2b5de9",11"input": "0xe5546f3700000000000000000000000000000000000000000000000340aad21b3b700000000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000471ece3750da237f93b8e339c536989b8978a43800000000000000000000000062d5b84be28a183abb507e125b384122d2c25fae000000000000000000000000e3d8bd6aed4f159bc8000a9cd47cffdb95f961210000000000000000000000001421bde4b10e8dd459b3bcb598810b1337d56842000000000000000000000000055aec00dc22bfca3f2acf092148bddf218e1ac7000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c20fdff83235df9521ef5872ae398220ca8742630000000000000000000000000000000000000000000000000000000000000003000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000122013fd7df1c6f636a5bb8f03108e876548b455000000000000000000000000471ece3750da237f93b8e339c536989b8978a438",12"nonce": "0x954c2",13"to": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",14"transactionIndex": "0x3",15"value": "0x0",16"type": "0x0",17"chainId": "0xa4ec",18"v": "0x149fb",19"r": "0x5f2fa059a750c6fa4864d1edba04d41ee11e732f295bee33dc7414e878750027",20"s": "0xa6045a9ca3a579fcefff025e552da774194e0ff114ec19e08e97d116fd1e60"21}22}