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
- maxFeePerGasstring
The maximum fee per gas set in the transaction
- maxPriorityFeePerGasstring
The maximum priority gas fee set in the transaction
- hashstring
The hash of the transaction
- l1BatchNumberstring
The L1 batch number of the block
- l1BatchTxIndexstring
The L1 batch transaction index
- 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
A list of addresses and storage keys that the transaction plans to access
- chainIdstring
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
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"hash": "0xebeb53528ede8be54fdcd519c96bb3aeff136cd71179d57ee70ed24a6efad18a",6"nonce": "0x20",7"blockHash": "0x50aea995bc83742178327beb452c3bcf151d43f9c015979e1b6e1a0d3ac4aadd",8"blockNumber": "0x903284",9"transactionIndex": "0x1",10"from": "0x82d336801744f96384f46f40d231edab8e3d33bc",11"to": "0x493257fd37edb34451f62edf8d2a0c418852ba4c",12"value": "0x0",13"gasPrice": "0xee6b280",14"gas": "0x11a75c",15"input": "0x095ea7b30000000000000000000000003525956a1e40a7b5d252aeb2a8ab2334a0acee47ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16"v": "0x2ac",17"r": "0xde5a38980dd5b4fbaceb725b256aab40c9a72d323be31109b48ad6ef4043256",18"s": "0x7dc202a219a365efc5dd6afec7103c0fb56e58d6bc29a4ce2647cd698fa7130d",19"type": "0x0",20"maxFeePerGas": "0xee6b280",21"maxPriorityFeePerGas": "0xee6b280",22"chainId": "0x144",23"l1BatchNumber": "0x1f0d9",24"l1BatchTxIndex": "0x287"25}26}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"hash": "0xebeb53528ede8be54fdcd519c96bb3aeff136cd71179d57ee70ed24a6efad18a",6"nonce": "0x20",7"blockHash": "0x50aea995bc83742178327beb452c3bcf151d43f9c015979e1b6e1a0d3ac4aadd",8"blockNumber": "0x903284",9"transactionIndex": "0x1",10"from": "0x82d336801744f96384f46f40d231edab8e3d33bc",11"to": "0x493257fd37edb34451f62edf8d2a0c418852ba4c",12"value": "0x0",13"gasPrice": "0xee6b280",14"gas": "0x11a75c",15"input": "0x095ea7b30000000000000000000000003525956a1e40a7b5d252aeb2a8ab2334a0acee47ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16"v": "0x2ac",17"r": "0xde5a38980dd5b4fbaceb725b256aab40c9a72d323be31109b48ad6ef4043256",18"s": "0x7dc202a219a365efc5dd6afec7103c0fb56e58d6bc29a4ce2647cd698fa7130d",19"type": "0x0",20"maxFeePerGas": "0xee6b280",21"maxPriorityFeePerGas": "0xee6b280",22"chainId": "0x144",23"l1BatchNumber": "0x1f0d9",24"l1BatchTxIndex": "0x287"25}26}