Parameters
- blockHashstringREQUIRED
The block hash
- indexstringREQUIRED
An integer of the transaction index position encoded as a hexadecimal
Returns
- objectobject | null
The transaction response object, or null if no transaction is found
- typestring
The transaction type encoded as a hexadecimal
- sourceHashstring
The source hash associated with the transaction
- fromstring
The address of the sender
- tostring | null
The address of the receiver. null when it's a contract creation transaction
- mintstring
The mint value encoded as hexadecimal
- valuestring
The value transferred in wei encoded as hexadecimal
- gasstring
The gas provided by the sender encoded as hexadecimal
- inputstring
The data sent along with the transaction
- hashstring
The hash of the transaction
- rstring
The R field of the transaction signature
- sstring
The S field of the transaction signature
- yParitystring
The y-parity of the transaction signature encoded as hexadecimal
- vstring
The V field of the transaction signature encoded as hexadecimal
- blockHashstring | null
The hash of the block containing this transaction. null when pending
- blockNumberstring | null
The block number containing this transaction. null when pending
- transactionIndexstring | null
The index position of the transaction in the block encoded as hexadecimal. null when pending
- depositReceiptVersionstring
(Optional) The deposit receipt version encoded as hexadecimal
- gasPricestring
The gas price provided by the sender in wei encoded as hexadecimal
- noncestring
(Optional) The number of transactions made by the sender before this one encoded as hexadecimal
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x7e",6"sourceHash": "0x08fa46120e48822f2bad92928c6c32e07340f7da81fea3329d46f9a83dfbb5e2",7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"to": "0x4200000000000000000000000000000000000015",9"mint": "0x0",10"value": "0x0",11"gas": "0x5f5e100",12"input": "0x098999be000005580000000000000000000000b0000000006980afd7000000000173da0700000000000000000000000000000000000000000000000000000000297fe0b400000000000000000000000000000000000000000000000008c6083ea1d86a98f3cf03142457e0b9b32f2eea471a10466b5ef8abc05ed1d002fbbc81d2b1f3e1000000000000000000000000b98c6b1a805b96707a43e1f1acfa163b68098fa6000000000000000000000000",13"hash": "0x6eac46de7abaf4079fae382032f670261d68637a9c5b5c515b66f1c5c302a475",14"r": "0x0",15"s": "0x0",16"yParity": "0x0",17"v": "0x0",18"blockHash": "0xb851bd3df47af166dd39c7b54d0effe9174f2202e46dac92cae0098abc116517",19"blockNumber": "0x6e8c55",20"transactionIndex": "0x0",21"depositReceiptVersion": "0x1",22"gasPrice": "0x0",23"nonce": "0x6e8c54"24}25}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x7e",6"sourceHash": "0x08fa46120e48822f2bad92928c6c32e07340f7da81fea3329d46f9a83dfbb5e2",7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"to": "0x4200000000000000000000000000000000000015",9"mint": "0x0",10"value": "0x0",11"gas": "0x5f5e100",12"input": "0x098999be000005580000000000000000000000b0000000006980afd7000000000173da0700000000000000000000000000000000000000000000000000000000297fe0b400000000000000000000000000000000000000000000000008c6083ea1d86a98f3cf03142457e0b9b32f2eea471a10466b5ef8abc05ed1d002fbbc81d2b1f3e1000000000000000000000000b98c6b1a805b96707a43e1f1acfa163b68098fa6000000000000000000000000",13"hash": "0x6eac46de7abaf4079fae382032f670261d68637a9c5b5c515b66f1c5c302a475",14"r": "0x0",15"s": "0x0",16"yParity": "0x0",17"v": "0x0",18"blockHash": "0xb851bd3df47af166dd39c7b54d0effe9174f2202e46dac92cae0098abc116517",19"blockNumber": "0x6e8c55",20"transactionIndex": "0x0",21"depositReceiptVersion": "0x1",22"gasPrice": "0x0",23"nonce": "0x6e8c54"24}25}