Getting Started
Smart Contracts
- Languages
- Opcode Additions
- Deploy
API Libaries
- JavaScript Libraries
- Postman
API Playground
- JSON-RPC Overview
- Addresses
- Blocks
- Transactions
- Gas and Fee
- Txpool
- Debug
- Net
- Miner
- Other
getPendingHeader
Returns the current pending block header.
The name of the method to be invoked.
quai_blockNumber
does not require any params.
A unique identifier for the request.
Body
2.0
The name of the method to be invoked.
quai_getPendingHeader
quai_blockNumber
does not require any params.
A unique identifier for the request.
Response
The block header data for the given hash.
The base fee per gas for the block.
The ratio of entropy reduced by the block to the entropy reduced by the uncles in this block. An estimate of how much work was wasted by the block.
A 256 bit hex encoded indicator of which other zones are eligible to recieve external transactions in this block. The value of each bit is 1 if the corresponding zone is eligible, 0 if not.
Hash of all external transactions emitted since the previous coincident block.
The hash of all of the external transactions in the state trie.
The root hash of the EVM Ledger state trie.
The exchange rate of Quai and Qi for this block.
The number of dynamic shard expansions that have occurred since genesis.
Arbitrary hex-encoded extra data included in this block.
The maximum gas allowed in this block.
The total used gas by all transactions in this block.
Hash of the block hashes of the most recent interlink blocks at each level of the hierarchy.
Hash of all of the blocks confirmed in subordinate chains to this block since the last coincident block.
Integer block numbers at each level of the hierarchy.
Hash of all outbound external transactions emitted in this block.
The change in entropy since the previous coincident block in each level of the hierarchy.
Total entropy reduced since genesis prior to this block in each level of the hierarchy.
The hash of the parent block for each level of the hierarchy.
The entropy reduction of uncles since the previous coincident block in all subordinate chains to this block for each level of the hierarchy.
The hash of the most recent prime block the shard this block was included in.
The conversion rate from Qi to Quai at this block.
The size of the Quai Ledger state at this block.
The conversion rate from Quai to Qi at this block.
Receipt trie root hash of the block.
The secondary coinbase address of the miner of this block. Only transaction fees are paid to this address.
The size of the block header in bytes.
The total number of bytes of state allowed in this block.
The number of bytes used in the state trie within this block.
The number of prime blocks since the uncle rate has crossed the rate threshold for dynamic expansion. Specification denoted by Quai Improvement Proposal 8.
The root of the transaction trie of the block.
The hash of the uncles data in the block.
The entropy reduced by all uncles included in this block.
The root hash of the UTXO ledger state trie.
The work object header.
The address of the account that mined this block.
The difficulty achieved by this block.
The hash of the work object header data.
The 4 byte zone location identifier of the block.
The duration that the block rewards for this block are locked.
The ProgPOW mix hash of this block.
The random number used in the valid proof-of-work.
The block number.
The hash of the parent block this block was mined on.
The primary coinbase of the miner of this block. Determines whether block rewards are paid out in Quai or Qi.
The number of the most recent prime block the shard that this block was included in.
Timestamp for when this block was collated.
The hash of one or more transactions worked and included in the block.
Was this page helpful?