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 total base charge plus tip paid for each unit of gas
- fromstring
The address of the sender
- gasUsedstring
The amount of gas used by this specific transaction alone
- logsarray
An array of log objects that generated this transaction
- addressstring
The address from which this log was generated
- topicsarray
An array of zero to four 32 Bytes DATA of indexed log arguments. In Solidity, the first topic is the hash of the signature of the event (e.g. Deposit(address, bytes32, uint256)), except you declare the event with the anonymous specifier
- datastring
The 32 byte non-indexed argument of the log
- blockNumberstring
The block number where this log was in
- transactionHashstring | null
The hash of the transaction from which this log was created from. null if the log is pending
- transactionIndexstring | null
The transactions index position from which this log was created from. null if the log is pending
- blockHashstring
The hash of the block where this log was in
- logIndexstring | null
The integer of log index position in the block encoded as hexadecimal. null if the log is pending
- removedboolean
It is true if log was removed, due to a chain reorganization and false if it's a valid log
- logsBloomstring
The bloom filter which is used to retrive related logs
- statusstring
It is either 1 (success) or 0 (failure) encoded as a hexadecimal
- tostring | null
The address of the receiver. Null when its a contract creation transaction
- transactionHashstring
The hash of the transaction
- transactionIndexstring
The transactions index position in the block encoded as a hexadecimal
- typestring
The type of value
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xf58e4702ceb7dd37bece54fc12c41144c123bcfc9ec80634110b836120ade52c",6"blockNumber": "0xf12681",7"contractAddress": null,8"cumulativeGasUsed": "0x2838b",9"effectiveGasPrice": "0x5f767a0",10"from": "0xc20fdff83235df9521ef5872ae398220ca874263",11"gasUsed": "0xcffd",12"logs": [],13"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",14"status": "0x1",15"to": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",16"transactionHash": "0x6b8a7011b5b49205a6cad3f06f63118daac041ef348b59f2b52ab78e1e2b5de9",17"transactionIndex": "0x3",18"type": "0x0"19}20}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xf58e4702ceb7dd37bece54fc12c41144c123bcfc9ec80634110b836120ade52c",6"blockNumber": "0xf12681",7"contractAddress": null,8"cumulativeGasUsed": "0x2838b",9"effectiveGasPrice": "0x5f767a0",10"from": "0xc20fdff83235df9521ef5872ae398220ca874263",11"gasUsed": "0xcffd",12"logs": [],13"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",14"status": "0x1",15"to": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",16"transactionHash": "0x6b8a7011b5b49205a6cad3f06f63118daac041ef348b59f2b52ab78e1e2b5de9",17"transactionIndex": "0x3",18"type": "0x0"19}20}