Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- objectobject | null
A transaction receipt object, or null when no receipt was found
- blockHashstring
The hash of the block where this transaction was in
- blockNumberstring
The block number where this transaction was added encoded as a hexadecimal
- contractAddressstring | null
The contract address created for contract creation, otherwise null
- cumulativeGasUsedstring
The total gas used when this transaction was executed in the block
- effectiveGasPricestring
The actual gas price paid by the sender encoded as a hexadecimal
- fromstring
The address of the sender
- gasUsedstring
The amount of gas used by this specific transaction alone
- gasUsedForL1string
Gas used for parent chain data posting, encoded as hexadecimal
- l1BlockNumberstring
Parent chain block number encoded as hexadecimal
- logsarray
An array of log objects that were generated by this transaction
- addressstring
The address from which this log originated
- topicsarray
An array of (0 to 4) 32-byte topics. The first topic is usually the event signature hash
- datastring
One or more 32-byte non-indexed arguments of the log encoded as hexadecimal
- 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 that included this log
- transactionHashstring | null
The hash of the transaction this log was created from. null when it's a pending log
- transactionIndexstring | null
The transaction index position this log was created from encoded as hexadecimal. null when it's a pending log
- logIndexstring | null
The log index position in the block encoded as hexadecimal. null when it's a pending log
- removedboolean
True if the log was removed due to a chain reorganization, false if it's a valid log
- logsBloomstring
The bloom filter which is used to retrieve related logs
- statusstring
It is either 1 (success) or 0 (failure) encoded as a hexadecimal
- tostring | null
The address of the receiver. null when it's a contract creation transaction
- transactionHashstring
The hash of the transaction
- transactionIndexstring
The transaction index position in the block encoded as a hexadecimal
- typestring
The transaction type encoded as a hexadecimal
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x7185f42907301265eb75253e74bd652d425d9a6e95f5d5aeb749a15af7269ad0",6"blockNumber": "0x181f92",7"contractAddress": null,8"cumulativeGasUsed": "0x7fb1",9"effectiveGasPrice": "0x8f899b0",10"from": "0x54bf055108f9af5da4f4dfe2eda125842acae622",11"gasUsed": "0x7fb1",12"gasUsedForL1": "0x0",13"l1BlockNumber": "0x3038633",14"logs": [],15"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",16"status": "0x1",17"to": "0xe844701934d9c6085b292e428f41b911cc0b3872",18"transactionHash": "0x5b40f41726f5fcfc5b89d369fb57696d31380ebe9b41cd8976aa7bdda65c31a4",19"transactionIndex": "0x1",20"type": "0x2"21}22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x7185f42907301265eb75253e74bd652d425d9a6e95f5d5aeb749a15af7269ad0",6"blockNumber": "0x181f92",7"contractAddress": null,8"cumulativeGasUsed": "0x7fb1",9"effectiveGasPrice": "0x8f899b0",10"from": "0x54bf055108f9af5da4f4dfe2eda125842acae622",11"gasUsed": "0x7fb1",12"gasUsedForL1": "0x0",13"l1BlockNumber": "0x3038633",14"logs": [],15"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",16"status": "0x1",17"to": "0xe844701934d9c6085b292e428f41b911cc0b3872",18"transactionHash": "0x5b40f41726f5fcfc5b89d369fb57696d31380ebe9b41cd8976aa7bdda65c31a4",19"transactionIndex": "0x1",20"type": "0x2"21}22}