Parameters
- blockHashstringREQUIRED
The block hash
- indexstringREQUIRED
An integer of the transaction index position encoded as a hexadecimal
Returns
- objectobject
The transaction response object, or null if no transaction is found:
- blockHash
The hash of the block where this log was in. null when it's a pending log
- blockNumber
The block number where this log was in. null when it's a pending log
- from
The address of the sender
- gas
The gas provided by the sender, encoded as hexadecimal
- gasPrice
The gas price provided by the sender in wei, encoded as hexadecimal
- maxFeePerGas
The maximum fee per gas set in the transaction
- maxPriorityFeePerGas
The maximum priority gas fee set in the transaction
- hash
The hash of the transaction
- input
The data sent along with the transaction
- nonce
The number of transactions made by the sender before this one encoded as hexadecimal
- to
The address of the receiver. null when it's a contract creation transaction
- transactionIndex
The integer of the transaction's index position that the log was created from. null when it's a pending log
- value
The value transferred in wei encoded as hexadecimal
- type
The transaction type
- accessList
A list of addresses and storage keys that the transaction plans to access
- chainId
The chain id of the transaction, if any
- v
The standardized V field of the signature
- r
The R field of the signature
- s
The S field of the signature
- yParity
The yParity field
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x227f9589529bb9b7b60069884339edaa75b5747d15f73cbbfa1ca9ea44322bbb",6"blockNumber": "0x331bcb5",7"from": "0xf88e7b50abc0a0f2461d61b86b1a71fe4f934f0c",8"gas": "0x7b27b",9"gasPrice": "0xceae48995f",10"maxFeePerGas": "0xddb25e69ce",11"maxPriorityFeePerGas": "0xb6e76644a4",12"hash": "0x64c102a3b91ab1c8bce373db1e5fb3540fa2ed0a4fd9b7ad1da3184a1379380d",13"input": "0xb1c76d29000000000000000000000000c2132d05d31c914a87c6611c10748aeb04b58e8f00000000000000000000000000000000000000000000000000000000030a0bb000000000000000000000000000000000000000000000000000000000030627ca0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000f88e7b50abc0a0f2461d61b86b1a71fe4f934f0c00000000000000000000000000000000000000000000000000000000030a0bb000000000000000000000000000000000000000000000000000000000030627ca000000000000000000000000000000000000000000000000000000000000006600000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000b4214b04d6d8f830000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f88e7b50abc0a0f2461d61b86b1a71fe4f934f0c00000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000022000100000000000000000000000000000000000000000000000000000000000298100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",14"nonce": "0xd1",15"to": "0xab43a615526e3e15b63e5812f74a0a1b86e9965e",16"transactionIndex": "0x0",17"value": "0xb4214b04d6d8f83",18"type": "0x2",19"accessList": [],20"chainId": "0x89",21"v": "0x0",22"r": "0x574ab64d6d45f5dc2b11e4616a605a2714f0c0dfa74ed0e5da2572ff4bf39aed",23"s": "0x3e6a4df0ece1409989c6eacb666e7be67c2fb03cc17fb2af4fb263463ad44263",24"yParity": "0x0"25}26}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x227f9589529bb9b7b60069884339edaa75b5747d15f73cbbfa1ca9ea44322bbb",6"blockNumber": "0x331bcb5",7"from": "0xf88e7b50abc0a0f2461d61b86b1a71fe4f934f0c",8"gas": "0x7b27b",9"gasPrice": "0xceae48995f",10"maxFeePerGas": "0xddb25e69ce",11"maxPriorityFeePerGas": "0xb6e76644a4",12"hash": "0x64c102a3b91ab1c8bce373db1e5fb3540fa2ed0a4fd9b7ad1da3184a1379380d",13"input": "0xb1c76d29000000000000000000000000c2132d05d31c914a87c6611c10748aeb04b58e8f00000000000000000000000000000000000000000000000000000000030a0bb000000000000000000000000000000000000000000000000000000000030627ca0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000f88e7b50abc0a0f2461d61b86b1a71fe4f934f0c00000000000000000000000000000000000000000000000000000000030a0bb000000000000000000000000000000000000000000000000000000000030627ca000000000000000000000000000000000000000000000000000000000000006600000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000b4214b04d6d8f830000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f88e7b50abc0a0f2461d61b86b1a71fe4f934f0c00000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000022000100000000000000000000000000000000000000000000000000000000000298100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",14"nonce": "0xd1",15"to": "0xab43a615526e3e15b63e5812f74a0a1b86e9965e",16"transactionIndex": "0x0",17"value": "0xb4214b04d6d8f83",18"type": "0x2",19"accessList": [],20"chainId": "0x89",21"v": "0x0",22"r": "0x574ab64d6d45f5dc2b11e4616a605a2714f0c0dfa74ed0e5da2572ff4bf39aed",23"s": "0x3e6a4df0ece1409989c6eacb666e7be67c2fb03cc17fb2af4fb263463ad44263",24"yParity": "0x0"25}26}