Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- objectobject | null
A transaction receipt object, or null when no receipt was found
- cumulativeGasUsedstring
The total gas used when this transaction was executed in the block
- logsBloomstring
The bloom filter which is used to retrive related logs
- logsarray
An array of log objects that generated this transaction
- addressstring
The address from which this log originated
- topicsarray
An array of (0 to 4) 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 declared the event with the anonymous specifier)
- datastring
It contains one or more 32 Bytes non-indexed arguments of the log
- 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 its pending
- transactionHashstring | null
The hash of the transaction from which this log was created from. null if the log is pending
- 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
- logIndexstring | null
The integer of the log index position in the block, encoded as hexadecimal. Null when it's a pending log
- transactionLogIndexstring
The index of the log within the transaction, detailing the order in which events occurred
- logTypestring
Describes the type of log
- removedboolean
It is true if log was removed, due to a chain reorganization and false if it's a valid log
- statusstring
It is either 1 (success) or 0 (failure) encoded as a hexadecimal
- transactionHashstring
The hash of the transaction
- transactionIndexstring
The transactions index position in the block encoded as a hexadecimal
- blockHashstring
The hash of the block where this transaction was in
- blockNumberstring
The block number where this transaction was added encoded as a hexadecimal
- gasUsedstring
The amount of gas used by this specific transaction alone
- fromstring
The address of the sender
- tostring | null
The address of the receiver. Null when its a contract creation transaction
- contractAddressstring | null
The contract address created for contract creation, otherwise null
- typestring
The type of value
- effectiveGasPricestring
The total base charge plus tip paid for each unit of gas
1{2"jsonrpc": "2.0",3"result": {4"transactionHash": "0x5ec2a2868ecf6497bea7a36fdb2aaf5e1d7488e4a966440af14e4f636d7f23e0",5"transactionIndex": "0x0",6"blockHash": "0x4d7369d18a0e9910f37043384be84e06acf0e514e563518a9eeaef0fa8f98ad4",7"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",8"to": "0x3c2269811836af69497e5f486a85d7316753cf62",9"blockNumber": "0x394bfd",10"cumulativeGasUsed": "0xbf7c",11"gasUsed": "0xbf7c",12"contractAddress": null,13"logs": [],14"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",15"status": "0x1",16"effectiveGasPrice": "0x1bf08eb000",17"type": "0x0"18},19"id": 120}
1{2"jsonrpc": "2.0",3"result": {4"transactionHash": "0x5ec2a2868ecf6497bea7a36fdb2aaf5e1d7488e4a966440af14e4f636d7f23e0",5"transactionIndex": "0x0",6"blockHash": "0x4d7369d18a0e9910f37043384be84e06acf0e514e563518a9eeaef0fa8f98ad4",7"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",8"to": "0x3c2269811836af69497e5f486a85d7316753cf62",9"blockNumber": "0x394bfd",10"cumulativeGasUsed": "0xbf7c",11"gasUsed": "0xbf7c",12"contractAddress": null,13"logs": [],14"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",15"status": "0x1",16"effectiveGasPrice": "0x1bf08eb000",17"type": "0x0"18},19"id": 120}