Blocks
getPendingHeader
Returns the current pending block header.
POST
Body
application/json
Available options:
2.0
Example:
"2.0"
The name of the method to be invoked.
Available options:
quai_getPendingHeader
Example:
"quai_getPendingHeader"
quai_blockNumber
does not require any params.
Example:
[]
A unique identifier for the request.
Example:
1
Response
200 - application/json
Successful response
Example:
"2.0"
The block header data for the given hash.
Example:
{
"baseFeePerGas": "0xa410",
"efficiencyScore": "0x1",
"etxEligibleSlices": "0x0100000000000000000000000000000000000000000000000000000000000000",
"etxRollupRoot": "0xb388088d2258438dff45de21427abe830b13b8c1e533f5a0e9a81a8d8e9913fc",
"etxSetRoot": "0x223f55cafa1ba1b9b6bce93fd47914e79e3dcd73d580401c20e9a2a4966c1ee4",
"evmRoot": "0xa2a4c58c572807cd5f65d744aa64425dbcc68f0186849434e69ffdccd6b9607b",
"exchangeRate": "0x38d7ea4c68000",
"expansionNumber": "0x0",
"extraData": "0xd78776302e31392e3088676f312e32332e31856c696e7578",
"gasLimit": "0x2625a00",
"gasUsed": "0x2425e0",
"interlinkRootHash": "0xd6c4c98f71601591ab7d2de87becd40bc6cc2a7e8121a8736b1a6ca1b02f90d8",
"manifestHash": [
"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"0x847c7ece49c07a0930955a99393eef02926f3b4504986f69e2a928e3218abbaf",
"0x980e84749d3d805de6fcbaeb54502f21b34dcd9adc12caa8c762130cf1d5601c"
],
"number": ["0x3", "0x6"],
"outboundEtxsRoot": "0x79709f3dc4fb0abb448b5510282ff03300bdc21f2643458f2be5278a8b14a6fb",
"parentDeltaEntropy": ["0x0", "0x0", "0x6cd932130602527ba6"],
"parentEntropy": [
"0x1bdf8a21057ebc05add",
"0x1bdf8a21057ebc05add",
"0x22b5c1a91498aa748b4"
],
"parentHash": [
"0xa85fd2206e4e6cefa52e4cdcc9703966b5ba2adbb653b7a03f35bbdb8bf15164",
"0xa85fd2206e4e6cefa52e4cdcc9703966b5ba2adbb653b7a03f35bbdb8bf15164"
],
"parentUncledDeltaEntropy": ["0x0", "0x0", "0x0"],
"primeTerminusHash": "0xa85fd2206e4e6cefa52e4cdcc9703966b5ba2adbb653b7a03f35bbdb8bf15164",
"qiToQuai": "0x0",
"quaiStateSize": "0xad2d",
"quaiToQi": "0x42c1d80",
"receiptsRoot": "0x28f04315a3c72cd71aad9c19d872fa1ce9da69c2f0b923777fbd7d4083bb8ad4",
"secondaryCoinbase": "0x00A3E45AA16163F2663015B6695894D918866d19",
"size": "0x2a8",
"stateLimit": "0x2625a00",
"stateUsed": "0x0",
"thresholdCount": "0x0",
"transactionsRoot": "0xea3b95e9dca1731c0224bab7c70a2b356f1f339b3d21bc93d42fb5918825e08d",
"uncleHash": "0xaa7efa095d8a2395ca710cbd792b52705e75e89c97225426317c74503dcc893f",
"uncledEntropy": "0x0",
"utxoRoot": "0xabf4854703f6b830a729ee8f667c47e1de8380f79b645b84cd3930c76c13f5d9",
"woHeader": {
"difficulty": "0x6c4e7edba",
"headerHash": "0xa2d7d51a17c5798441bb91c13db5ac4dc6e699d4b4908f48664a327fc734b216",
"location": "0x0000",
"lock": "0x1",
"mixHash": "0x196b6d605784efcb60aae22923db8f52b54e3f12e19d69003028d2969df28247",
"nonce": "0x8dcd00000035efd3",
"number": "0x10",
"parentHash": "0x8714e00f8e4775001dca3f2b9cd8c80d0e286d17a6a1f3b2216cdf6ea15e66ed",
"primaryCoinbase": "0x0003e45Aa16163f2663015B6695894D918866D19",
"primeTerminusNumber": "0x2",
"timestamp": "0x66fd78bf",
"txHash": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}
}
Example:
1
Was this page helpful?