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
- blockTimestampstring
The unix timestamp for when the block was collated, 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
- 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
- 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"type": "0x0",6"chainId": "0x38",7"nonce": "0x1695",8"gasPrice": "0x12a05f200",9"gas": "0x2cbe4",10"to": "0x10ed43c718714eb63d5aa57b78b54704e256024e",11"value": "0xde0b6b3a7640000",12"input": "0x7ff36ab500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c0000000000000000000000000000000000000000000000000000000063ab323b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c000000000000000000000000829a20ec98520f9878f49c311565cf4a86ea7cd1",13"r": "0x44f3adbcbce9135114f7bc5f589f8635f05e9d7339c82f072d1a90f45acb5975",14"s": "0x52e7b937325e03f3cd923a87c1caa2e2d83ac0a0b9db8c6f2c192c91ae4cadc0",15"v": "0x93",16"hash": "0x0ff2022252b448cb86c90653ac26f432669f1dc29c74f3586e143ce1e386c00a",17"blockHash": "0x9a2b2dc968830767a5b59ff82ee865b1de90127a8a17398928bacf1dfc5170bd",18"blockNumber": "0x172522c",19"transactionIndex": "0x17",20"from": "0xa2c2ea849a07383684eed1123446d2325a56346c",21"blockTimestamp": "0x63ab0b32"22}23}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x0",6"chainId": "0x38",7"nonce": "0x1695",8"gasPrice": "0x12a05f200",9"gas": "0x2cbe4",10"to": "0x10ed43c718714eb63d5aa57b78b54704e256024e",11"value": "0xde0b6b3a7640000",12"input": "0x7ff36ab500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c0000000000000000000000000000000000000000000000000000000063ab323b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c000000000000000000000000829a20ec98520f9878f49c311565cf4a86ea7cd1",13"r": "0x44f3adbcbce9135114f7bc5f589f8635f05e9d7339c82f072d1a90f45acb5975",14"s": "0x52e7b937325e03f3cd923a87c1caa2e2d83ac0a0b9db8c6f2c192c91ae4cadc0",15"v": "0x93",16"hash": "0x0ff2022252b448cb86c90653ac26f432669f1dc29c74f3586e143ce1e386c00a",17"blockHash": "0x9a2b2dc968830767a5b59ff82ee865b1de90127a8a17398928bacf1dfc5170bd",18"blockNumber": "0x172522c",19"transactionIndex": "0x17",20"from": "0xa2c2ea849a07383684eed1123446d2325a56346c",21"blockTimestamp": "0x63ab0b32"22}23}