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
- 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
- yParitystring
The parity bit of the transaction signature encoded as a hexadecimal value.
- 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"blockHash": "0xb6df1ad6902ef9f5e23e215d883c8ea59890601f55083a78bd615a4bc4dbcbb5",6"blockNumber": "0x2ef7cae",7"from": "0x78ab8d09ddde87a2b247c7deececf9badc4b6bea",8"gas": "0xfc5b2",9"gasPrice": "0x5f5e100",10"maxFeePerGas": "0x5f5e100",11"maxPriorityFeePerGas": "0x0",12"hash": "0x3c9329b765d88c03d18f87dc1f2b5138c89d9a415d5c73dc7827b87aca176c8e",13"input": "0x1114cd2a000000000000000000000000000000000000000000000000000000000000006f00000000000000000000000078ab8d09ddde87a2b247c7deececf9badc4b6bea00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000640b5eece0000000000000000000000000000000000000000000000000000000638b505ee400000000000000000000000000000000000000000000000000000000000000001478ab8d09ddde87a2b247c7deececf9badc4b6bea000000000000000000000000",14"nonce": "0x19",15"to": "0xbf22f0f184bccbea268df387a49ff5238dd23e40",16"transactionIndex": "0x1",17"value": "0x2466b3700fe13",18"type": "0x2",19"accessList": [],20"chainId": "0xa4b1",21"v": "0x1",22"r": "0x1c81639a7f422d16972f14fdb994d0d963013bb1e6c379b1d7ace45ada71054",23"s": "0x28c8e962e8d0a0c5f8d755c34b8086158b8aa2f6e195e4219b12cf74d6bc6498",24"yParity": "0x1"25}26}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xb6df1ad6902ef9f5e23e215d883c8ea59890601f55083a78bd615a4bc4dbcbb5",6"blockNumber": "0x2ef7cae",7"from": "0x78ab8d09ddde87a2b247c7deececf9badc4b6bea",8"gas": "0xfc5b2",9"gasPrice": "0x5f5e100",10"maxFeePerGas": "0x5f5e100",11"maxPriorityFeePerGas": "0x0",12"hash": "0x3c9329b765d88c03d18f87dc1f2b5138c89d9a415d5c73dc7827b87aca176c8e",13"input": "0x1114cd2a000000000000000000000000000000000000000000000000000000000000006f00000000000000000000000078ab8d09ddde87a2b247c7deececf9badc4b6bea00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000640b5eece0000000000000000000000000000000000000000000000000000000638b505ee400000000000000000000000000000000000000000000000000000000000000001478ab8d09ddde87a2b247c7deececf9badc4b6bea000000000000000000000000",14"nonce": "0x19",15"to": "0xbf22f0f184bccbea268df387a49ff5238dd23e40",16"transactionIndex": "0x1",17"value": "0x2466b3700fe13",18"type": "0x2",19"accessList": [],20"chainId": "0xa4b1",21"v": "0x1",22"r": "0x1c81639a7f422d16972f14fdb994d0d963013bb1e6c379b1d7ace45ada71054",23"s": "0x28c8e962e8d0a0c5f8d755c34b8086158b8aa2f6e195e4219b12cf74d6bc6498",24"yParity": "0x1"25}26}