EVM RPC API
eth_getTransactionByHash
Returns information about a transaction given the transaction’s hash.
Parameters
TAG
- Integer block number or one of “earliest”, “latest” or “pending”Boolean
- If true it returns the full transaction objects, if false only the hashes of the transactions
Returns
Object
- An object of type Block defined as:number
:QUANTITY
- The block number or null when pendinghash
:DATA
, 32 Bytes - Hash of the block or null when pendingparentHash
:DATA
, 32 Bytes - Hash of the parent blocknonce
:DATA
, 8 bytes - Hash of the proof of work or null when pendingsha3Uncles
:DATA
, 32 Bytes - SHA3 of the uncles data in the blocklogsBloom
:DATA
, 256 Bytes - The bloom filter for the block’s logs or null when pendingtransactionsRoot
:DATA
, 32 Bytes - The root of the transaction trie of the blockstateRoot
:DATA
, 32 Bytes - The root of the final state trie of the blockreceiptsRoot
:DATA
, 32 Bytes - The root of the receipts trie of the blockminer
:DATA
, 20 Bytes - The address of the beneficiary to whom the mining rewards were givendifficulty
:QUANTITY
- Integer of the difficulty for this blocktotalDifficulty
:QUANTITY
- Integer of the total difficulty of the chain until this blockextraData
:DATA
- The extra data field of this blocksize
:QUANTITY
- Integer the size of this block in bytesgasLimit
:QUANTITY
- The maximum gas allowed in this blockgasUsed
:QUANTITY
- The total used gas by all transactions in this blocktimestamp
:QUANTITY
- The unix timestamp for when the block was collatedtransactions
:ARRAY
- Array of transaction objects, or 32 Bytes transaction hashes depending on the last given parameteruncles
:ARRAY
- Array of uncle hashes
POST
https://{network}.s.chainbase.online/v1
/
{api-key}
Path Parameters
Body
application/json