POSTkaia_getBlockByNumber
Retrieves block information by block number.
Enter the following parameters as an array with the appropriate types.
block number or block tag: Enter the block number to query as a hexadecimal string. You may also use block tags such as "earliest", "latest", "pending".includeTransactions: Boolean indicating whether to include all transaction information in the block when querying. true includes all transactions, false excludes them.
Use one of block number or block tag to specify the block.
- Block number: Hexadecimal string (e.g. "0x1")
- Block tag: Enum string (e.g. "latest", "earliest", "pending")
earliest: The oldest available block on the chain.finalized: A recently finalized block that can no longer be changed. Primarily used in proof-of-stake (PoS) blockchains.safe: A recent block considered safe by the network (immune to reorgs).latest: The most recent block on the chain (may be subject to reorgs).pending: The next block to be mined, including pending transactions in the mempool.
Whether to include transactions. Set to true to return results with transactions.
Former difficulty field (hex)
Arbitrary extra data added by the miner (hex)
Total gas used by all transactions in this block (hex)
RLP-encoded governance configuration data (hex)
Block hash
Bloom filter for event log search (2048 bits, hex)
Block number (hex)
Hash of the parent block
Address of the node that proposed this block
Root hash of the transaction receipts trie
Address of the reward beneficiary
Block size in bytes (hex)
Root hash of the state trie
Block creation time (Unix timestamp, hex)
Fractional seconds of block creation time (1/100 second, hex)
Cumulative blockScore from genesis to this block (hex)
Transactions in this block
Root hash of the transactions trie
RLP-encoded governance vote data (hex)