Parameters
The block number as a string in hexadecimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions, safe for the most recent secure block, and finalized for the most recent secure block accepted by more than 2/3 of validators. safe and finalized are only supported on Ethereum, Gnosis, Arbitrum, Arbitrum Nova, and Avalanche C-chain
An integer of the transaction index position encoded as a hexadecimal
Returns
The transaction response object, or null if no transaction is found:
The hash of the block where this log was in. null when it's a pending log
The block number where this log was in. null when it's a pending log
The timestamp of the block where this transaction was included, encoded as hexadecimal.
The address of the sender
The gas provided by the sender, encoded as hexadecimal
The gas price provided by the sender in wei, encoded as hexadecimal
The hash of the transaction
The data sent along with the transaction
The number of transactions made by the sender before this one encoded as hexadecimal
The address of the receiver. null when it's a contract creation transaction
The integer of the transaction's index position that the log was created from, encoded as hexadecimal. null when it's a pending log
The value transferred in wei encoded as hexadecimal
The transaction type
(Optional) The chain id of the blockchain
The standardized V field of the signature
The R field of the signature
The S field of the signature
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x0",6"nonce": "0x100026",7"gasPrice": "0xba43b7400",8"gas": "0x1c9c380",9"to": "0x00000000000000000000000000000001625f2004",10"value": "0x0",11"input": "0x8d4adfd500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000652608e313f5a0000000000000000000000000000000000000000000000000000000000000000",12"r": "0x0",13"s": "0x0",14"v": "0x1b",15"hash": "0x091bd81bdfa55c663c48be7b4412d10f6533acbccac7beb43cdd7a8d3c945afc",16"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",17"blockNumber": "0x100000",18"transactionIndex": "0x0",19"from": "0x00000000000000000000000000000001625f0000"20}21}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x0",6"nonce": "0x100026",7"gasPrice": "0xba43b7400",8"gas": "0x1c9c380",9"to": "0x00000000000000000000000000000001625f2004",10"value": "0x0",11"input": "0x8d4adfd500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000652608e313f5a0000000000000000000000000000000000000000000000000000000000000000",12"r": "0x0",13"s": "0x0",14"v": "0x1b",15"hash": "0x091bd81bdfa55c663c48be7b4412d10f6533acbccac7beb43cdd7a8d3c945afc",16"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",17"blockNumber": "0x100000",18"transactionIndex": "0x0",19"from": "0x00000000000000000000000000000001625f0000"20}21}