Parameters
- blockHashstringREQUIRED
The block hash
- indexstringREQUIRED
An integer of the transaction index position encoded as a hexadecimal
Returns
- objectsobject | 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
- 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 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
(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": "0x8da076dd15589f9cf321fe8e4c8e6f46d0a2830a",8"gas": "0x7dd8",9"gasPrice": "0x2cb41780",10"hash": "0x00596ed5691787efdb7ff6497decbdc27197ab1cfa10eb6c363301bd80373f3d",11"input": "0x91b7f5ed00000000000000000000000000000000000000000000000000000000000000bd",12"nonce": "0x9a08",13"to": "0xedb72ffab263f041564afb210a263c389418b619",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x0",17"chainId": "0xa4ec",18"v": "0x149fc",19"r": "0xbb7fc85377dfa67d7d03c0aeebd551feefbc7b533eef415ee7dbda1b84f68dfa",20"s": "0x24596a016dd86df177fc2bd5f8ab079ed79dca02c84fe4a94e9389d2b0391c5c"21}22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xf58e4702ceb7dd37bece54fc12c41144c123bcfc9ec80634110b836120ade52c",6"blockNumber": "0xf12681",7"from": "0x8da076dd15589f9cf321fe8e4c8e6f46d0a2830a",8"gas": "0x7dd8",9"gasPrice": "0x2cb41780",10"hash": "0x00596ed5691787efdb7ff6497decbdc27197ab1cfa10eb6c363301bd80373f3d",11"input": "0x91b7f5ed00000000000000000000000000000000000000000000000000000000000000bd",12"nonce": "0x9a08",13"to": "0xedb72ffab263f041564afb210a263c389418b619",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x0",17"chainId": "0xa4ec",18"v": "0x149fc",19"r": "0xbb7fc85377dfa67d7d03c0aeebd551feefbc7b533eef415ee7dbda1b84f68dfa",20"s": "0x24596a016dd86df177fc2bd5f8ab079ed79dca02c84fe4a94e9389d2b0391c5c"21}22}