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 log was in. null when it's a pending log
- blockNumberstring | null
The block number where this log was in. null when it's a pending log
- blockTimestampstring
The timestamp of the block where this transaction was included, encoded as hexadecimal.
- 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
- 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 it's a contract creation transaction
- transactionIndexstring | null
The integer of the transaction's index position that the log was created from, encoded as hexadecimal. null when it's a pending log
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type
- vstring
The standardized V field of the signature
- rstring
The R field of the signature
- sstring
The S field of the signature
- yParitystring
(Optional) Coordinate of key used in signature
- sourceHashstring
The hash of the source transaction that created this transaction
- mintstring
The minting event associated with the transaction
- depositReceiptVersionstring
The version of a deposit receipt
- chainIdstring
(Optional) The chain ID of the transaction, encoded as hexadecimal
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x97247e5886f231320234ce30ce46490668a0f2aa038f7f89509abd89a91637c7",6"blockNumber": "0x1b2783e",7"transactionIndex": "0x0",8"hash": "0xd7604625b5ec0f8565a03a30c5b63617c948d8f9d9e6f6cae47e89e8375abb22",9"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",10"to": "0x4200000000000000000000000000000000000015",11"input": "0x3db6be2b00000558000c5fc500000000000000000000000069cfa61f00000000017a667a000000000000000000000000000000000000000000000000000000000954bc5500000000000000000000000000000000000000000000000000000000008fd10a2b83186f11291c21b0132387e7f254d7c7284ef8153cb02cb6cfad9bd52d55bf0000000000000000000000001ffda89c755f6d4af069897d77ccabb580fd412a000000000000013aa2d138370190",12"nonce": "0x1b2783f",13"value": "0x0",14"gas": "0xf4240",15"gasPrice": "0x0",16"chainId": "0xb67d2",17"type": "0x7e",18"v": "0x0",19"r": "0x0",20"s": "0x0",21"mint": "0x0",22"sourceHash": "0xd7278cb3fb86b26d6c5c86c4ddd29c5ff0776292c599e929d694c561c2a8080d",23"depositReceiptVersion": "0x1"24}25}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x97247e5886f231320234ce30ce46490668a0f2aa038f7f89509abd89a91637c7",6"blockNumber": "0x1b2783e",7"transactionIndex": "0x0",8"hash": "0xd7604625b5ec0f8565a03a30c5b63617c948d8f9d9e6f6cae47e89e8375abb22",9"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",10"to": "0x4200000000000000000000000000000000000015",11"input": "0x3db6be2b00000558000c5fc500000000000000000000000069cfa61f00000000017a667a000000000000000000000000000000000000000000000000000000000954bc5500000000000000000000000000000000000000000000000000000000008fd10a2b83186f11291c21b0132387e7f254d7c7284ef8153cb02cb6cfad9bd52d55bf0000000000000000000000001ffda89c755f6d4af069897d77ccabb580fd412a000000000000013aa2d138370190",12"nonce": "0x1b2783f",13"value": "0x0",14"gas": "0xf4240",15"gasPrice": "0x0",16"chainId": "0xb67d2",17"type": "0x7e",18"v": "0x0",19"r": "0x0",20"s": "0x0",21"mint": "0x0",22"sourceHash": "0xd7278cb3fb86b26d6c5c86c4ddd29c5ff0776292c599e929d694c561c2a8080d",23"depositReceiptVersion": "0x1"24}25}