Parameters
The hash of a transaction
Returns
A transaction receipt object, or null when no receipt was found
The hash of the block. null when pending
The block number in hexadecimal
The contract address created if the transaction was a contract creation, otherwise null
The total amount of gas used when this transaction was executed in the block
The actual value per gas deducted from the sender's account
The address of the sender
The amount of gas used by this specific transaction alone
(Optional) The amount of Layer 1 gas used, encoded as hexadecimal
(Optional) The block number of the L1 chain this transaction references
An array of log objects generated by this transaction
The address from which this log originated
Array of 0 to 4 32-byte DATA of indexed log arguments
Contains one or more 32-byte non-indexed arguments of the log
The block number where this log was in. null when it's a pending log
The Unix timestamp of the block containing this log, encoded as hexadecimal
The hash of the transaction this log was created from
Integer of the transaction's index position this log was created from, encoded as hexadecimal
Hash of the block where this log was in. null when pending
Integer of the log index position in the block, encoded as hexadecimal
True when the log was removed due to a chain reorganization
The bloom filter for light clients to quickly retrieve related logs
Either 1 (success) or 0 (failure) encoded as hexadecimal
The address of the receiver. null when it's a contract creation transaction
The hash of the transaction
The index of the transaction in the block
The transaction type
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x2",6"status": "0x1",7"cumulativeGasUsed": "0x292c0",8"logs": [9{10"address": "0x779c127bd3b93efcefacf182e2ce4907765db997",11"topics": [12"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",13"0x00000000000000000000000043e4a1aa550a979582dc3449a6bd441f37f2f84c",14"0x000000000000000000000000f9f5d67ea953a764b07e05bbad59d851544351e5"15],16"data": "0x000000000000000000000000000000000004d0985cb1d3608acc930223590000",17"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",18"blockNumber": "0x100000",19"blockTimestamp": "0x6a0fdd04",20"transactionHash": "0xb0b276823f1c86213ea8f0c04471cd126392d4c9c4a536940c2bf4f3764c628f",21"transactionIndex": "0x1",22"logIndex": "0x3",23"removed": false24}25],26"logsBloom": "0x00000000000000000000000000000000000000000040000000000000000000008000000000000000000000000000000000100000000001000000000000000000000000000000000000000008000000000000000000000000000000000000000000008000000000000004000000000000000000000000000000000012000000000000000000000000000000000000000400000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",27"transactionHash": "0xb0b276823f1c86213ea8f0c04471cd126392d4c9c4a536940c2bf4f3764c628f",28"transactionIndex": "0x1",29"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",30"blockNumber": "0x100000",31"gasUsed": "0xc964",32"effectiveGasPrice": "0xdf8475800",33"from": "0x43e4a1aa550a979582dc3449a6bd441f37f2f84c",34"to": "0x779c127bd3b93efcefacf182e2ce4907765db997",35"contractAddress": null36}37}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x2",6"status": "0x1",7"cumulativeGasUsed": "0x292c0",8"logs": [9{10"address": "0x779c127bd3b93efcefacf182e2ce4907765db997",11"topics": [12"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",13"0x00000000000000000000000043e4a1aa550a979582dc3449a6bd441f37f2f84c",14"0x000000000000000000000000f9f5d67ea953a764b07e05bbad59d851544351e5"15],16"data": "0x000000000000000000000000000000000004d0985cb1d3608acc930223590000",17"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",18"blockNumber": "0x100000",19"blockTimestamp": "0x6a0fdd04",20"transactionHash": "0xb0b276823f1c86213ea8f0c04471cd126392d4c9c4a536940c2bf4f3764c628f",21"transactionIndex": "0x1",22"logIndex": "0x3",23"removed": false24}25],26"logsBloom": "0x00000000000000000000000000000000000000000040000000000000000000008000000000000000000000000000000000100000000001000000000000000000000000000000000000000008000000000000000000000000000000000000000000008000000000000004000000000000000000000000000000000012000000000000000000000000000000000000000400000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",27"transactionHash": "0xb0b276823f1c86213ea8f0c04471cd126392d4c9c4a536940c2bf4f3764c628f",28"transactionIndex": "0x1",29"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",30"blockNumber": "0x100000",31"gasUsed": "0xc964",32"effectiveGasPrice": "0xdf8475800",33"from": "0x43e4a1aa550a979582dc3449a6bd441f37f2f84c",34"to": "0x779c127bd3b93efcefacf182e2ce4907765db997",35"contractAddress": null36}37}