{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Quai Network Docs","colors":{"primary":"#e22901","light":"#e22901","dark":"#e22901"},"logo":{"light":"https://mintcdn.com/dominantstrategies/X4sucm2SYhI37-ls/images/logo.png?fit=max\u0026auto=format\u0026n=X4sucm2SYhI37-ls\u0026q=85\u0026s=1f1a4f07057d96ead9647663a2ac51ba","dark":"https://mintcdn.com/dominantstrategies/X4sucm2SYhI37-ls/images/logo.png?fit=max\u0026auto=format\u0026n=X4sucm2SYhI37-ls\u0026q=85\u0026s=1f1a4f07057d96ead9647663a2ac51ba","href":"https://qu.ai"},"favicon":"https://mintcdn.com/dominantstrategies/aPJM9c-DC_HldUMy/favicon.svg?fit=max\u0026auto=format\u0026n=aPJM9c-DC_HldUMy\u0026q=85\u0026s=4f96cad85b6fc0956877ad043cb427b7","navbar":{"links":[{"href":"https://discord.gg/FwvzQkJPK9","label":"Developer Discord"}]},"footer":{"socials":{"x":"https://twitter.com/QuaiNetwork","github":"https://github.com/dominant-strategies/quais.js/tree/alpha","linkedin":"https://www.linkedin.com/company/dominant-strategies","instagram":"https://instagram.com/quainetwork"}},"search":{"prompt":"What can I build on Quai?"},"integrations":{"ga4":{"measurementId":"G-XQMRKWKTEQ"},"intercom":{"appId":"crmoyy2i"}},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"learn/introduction"},{"language":"cn","href":"cn/learn/introduction"},{"language":"jp","href":"jp/learn/introduction"},{"language":"ko","href":"ko/learn/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dominantstrategies","hasAudioNarration":false,"actualSubdomain":"dominantstrategies","customDomains":["docs.qu.ai"],"gitSource":{"type":"github","owner":"dominant-strategies","repo":"quai-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6abbc5cc018f6a8bb47e6b8e","collectionId":"6e0666e5-f7a6-4468-a220-55f4dda3d1e3","schemaVersion":"v2","latestBuiltDeploymentHistoryId":"6abbc5cc018f6a8bb47e6b8e"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6abbc5cc018f6a8bb47e6b8e","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"en","tag":"SDK","count":278},{"language":"cn","tag":"SDK","count":278},{"language":"jp","tag":"SDK","count":278},{"language":"ko","tag":"SDK","count":278},{"language":"en","tag":"Reference","count":269},{"language":"cn","tag":"参考","count":269},{"language":"jp","tag":"リファレンス","count":269},{"language":"ko","tag":"참조","count":269},{"language":"en","tag":"Utils","count":74},{"language":"cn","tag":"Utils","count":74},{"language":"jp","tag":"Utils","count":74},{"language":"ko","tag":"Utils","count":74},{"language":"en","tag":"Build","count":66},{"language":"cn","tag":"构建","count":66},{"language":"jp","tag":"ビルド","count":66},{"language":"ko","tag":"빌드","count":66},{"language":"en","tag":"API Playground","count":53},{"language":"cn","tag":"API 游乐场","count":53},{"language":"jp","tag":"APIプレイグラウンド","count":53},{"language":"ko","tag":"API 플레이그라운드","count":53},{"language":"en","tag":"Providers","count":51},{"language":"cn","tag":"Providers","count":51},{"language":"jp","tag":"Providers","count":51},{"language":"ko","tag":"Providers","count":51},{"language":"en","tag":"Learn","count":32},{"language":"cn","tag":"学习","count":31},{"language":"jp","tag":"学習","count":31},{"language":"ko","tag":"학습","count":31},{"language":"en","tag":"Application Binary Interface","count":25},{"language":"cn","tag":"Application Binary Interface","count":25},{"language":"jp","tag":"Application Binary Interface","count":25},{"language":"ko","tag":"Application Binary Interface","count":25},{"language":"en","tag":"Contract","count":21},{"language":"cn","tag":"Contract","count":21},{"language":"jp","tag":"Contract","count":21},{"language":"ko","tag":"Contract","count":21},{"language":"en","tag":"Advanced Topics","count":20},{"language":"cn","tag":"高级介绍","count":19},{"language":"jp","tag":"高度なトピック","count":19},{"language":"ko","tag":"고급 주제","count":19}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"build/playground/blocks/getPendingHeader","slug":"/build/playground/blocks/getPendingHeader","pageMetadata":{"title":"getPendingHeader","openapi":"openapi-getPendingHeader POST /","description":"Returns the current pending block header.","href":"/build/playground/blocks/getPendingHeader"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Returns the current pending block header.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"getPendingHeader","openapi":"openapi-getPendingHeader POST /","description":"Returns the current pending block header.","href":"/build/playground/blocks/getPendingHeader"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"quai_getPendingHeader","description":"Returns the current pending block header.","requestBody":"ae656160-1969-4f1b-8d23-04bffb2975e1","responses":{"200":"c5ba6acd-6239-4aca-ac2c-a665ccb4389b"},"method":"post","type":"path","servers":["69bcbf24-1b6a-4779-9d26-61f78b2ea3dd"],"security":[],"path":"/","baseUrlOptions":["https://rpc.quai.network/cyprus1"],"title":"quai_getPendingHeader","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method","params","id"],"properties":{"jsonrpc":{"type":"string","example":"2.0","enum":["2.0"],"isRequired":true,"uniqueKey":"jsonrpc","typeLabel":"enum\u003cstring>"},"method":{"type":"string","description":"The name of the method to be invoked.","example":"quai_getPendingHeader","enum":["quai_getPendingHeader"],"isRequired":true,"uniqueKey":"method","typeLabel":"enum\u003cstring>"},"params":{"type":"array","description":"`quai_blockNumber` does not require any params.","maxItems":0,"example":[],"isRequired":true,"uniqueKey":"params","typeLabel":"array"},"id":{"type":"integer","description":"A unique identifier for the request.","example":1,"isRequired":true,"uniqueKey":"id","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"jsonrpc":"2.0","method":"quai_getPendingHeader","params":[],"id":1}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c5ba6acd-6239-4aca-ac2c-a665ccb4389b":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0","uniqueKey":"jsonrpc","typeLabel":"string"},"result":{"type":"object","properties":{"baseFeePerGas":{"type":"string","description":"The base fee per gas for the block.","uniqueKey":"result.baseFeePerGas","typeLabel":"string"},"efficiencyScore":{"type":"string","description":"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.","uniqueKey":"result.efficiencyScore","typeLabel":"string"},"etxEligibleSlices":{"type":"string","description":"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.","uniqueKey":"result.etxEligibleSlices","typeLabel":"string"},"etxRollupRoot":{"type":"string","description":"Hash of all external transactions emitted since the previous coincident block.","uniqueKey":"result.etxRollupRoot","typeLabel":"string"},"etxSetRoot":{"type":"string","description":"The hash of all of the external transactions in the state trie.","uniqueKey":"result.etxSetRoot","typeLabel":"string"},"evmRoot":{"type":"string","description":"The root hash of the EVM Ledger state trie.","uniqueKey":"result.evmRoot","typeLabel":"string"},"exchangeRate":{"type":"string","description":"The exchange rate of Quai and Qi for this block.","uniqueKey":"result.exchangeRate","typeLabel":"string"},"expansionNumber":{"type":"string","description":"The number of dynamic shard expansions that have occurred since genesis.","uniqueKey":"result.expansionNumber","typeLabel":"string"},"extraData":{"type":"string","description":"Arbitrary hex-encoded extra data included in this block.","uniqueKey":"result.extraData","typeLabel":"string"},"gasLimit":{"type":"string","description":"The maximum gas allowed in this block.","uniqueKey":"result.gasLimit","typeLabel":"string"},"gasUsed":{"type":"string","description":"The total used gas by all transactions in this block.","uniqueKey":"result.gasUsed","typeLabel":"string"},"interlinkRootHash":{"type":"string","description":"Hash of the block hashes of the most recent interlink blocks at each level of the hierarchy.","uniqueKey":"result.interlinkRootHash","typeLabel":"string"},"manifestHash":{"type":"array","description":"Hash of all of the blocks confirmed in subordinate chains to this block since the last coincident block.","items":{"type":"string","uniqueKey":"result.manifestHash.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.manifestHash","typeLabel":"string[]"},"number":{"type":"array","description":"Integer block numbers at each level of the hierarchy.","items":{"type":"string","uniqueKey":"result.number.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.number","typeLabel":"string[]"},"outboundEtxsRoot":{"type":"string","description":"Hash of all outbound external transactions emitted in this block.","uniqueKey":"result.outboundEtxsRoot","typeLabel":"string"},"parentDeltaEntropy":{"type":"array","description":"The change in entropy since the previous coincident block in each level of the hierarchy.","items":{"type":"string","uniqueKey":"result.parentDeltaEntropy.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.parentDeltaEntropy","typeLabel":"string[]"},"parentEntropy":{"type":"array","description":"Total entropy reduced since genesis prior to this block in each level of the hierarchy.","items":{"type":"string","uniqueKey":"result.parentEntropy.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.parentEntropy","typeLabel":"string[]"},"parentHash":{"type":"array","description":"The hash of the parent block for each level of the hierarchy.","items":{"type":"string","uniqueKey":"result.parentHash.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.parentHash","typeLabel":"string[]"},"parentUncledDeltaEntropy":{"type":"array","description":"The entropy reduction of uncles since the previous coincident block in all subordinate chains to this block for each level of the hierarchy.","items":{"type":"string","uniqueKey":"result.parentUncledDeltaEntropy.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.parentUncledDeltaEntropy","typeLabel":"string[]"},"primeTerminusHash":{"type":"string","description":"The hash of the most recent prime block the shard this block was included in.","uniqueKey":"result.primeTerminusHash","typeLabel":"string"},"quaiStateSize":{"type":"string","description":"The size of the Quai Ledger state at this block.","uniqueKey":"result.quaiStateSize","typeLabel":"string"},"receiptsRoot":{"type":"string","description":"Receipt trie root hash of the block.","uniqueKey":"result.receiptsRoot","typeLabel":"string"},"secondaryCoinbase":{"type":"string","description":"The secondary coinbase address of the miner of this block. Only transaction fees are paid to this address.","uniqueKey":"result.secondaryCoinbase","typeLabel":"string"},"size":{"type":"string","description":"The size of the block header in bytes.","uniqueKey":"result.size","typeLabel":"string"},"stateLimit":{"type":"string","description":"The total number of bytes of state allowed in this block.","uniqueKey":"result.stateLimit","typeLabel":"string"},"stateUsed":{"type":"string","description":"The number of bytes used in the state trie within this block.","uniqueKey":"result.stateUsed","typeLabel":"string"},"thresholdCount":{"type":"string","description":"The number of prime blocks since the uncle rate has crossed the rate threshold for dynamic expansion. Specification denoted by Quai Improvement Proposal 8.","uniqueKey":"result.thresholdCount","typeLabel":"string"},"transactionsRoot":{"type":"string","description":"The root of the transaction trie of the block.","uniqueKey":"result.transactionsRoot","typeLabel":"string"},"uncleHash":{"type":"string","description":"The hash of the uncles data in the block.","uniqueKey":"result.uncleHash","typeLabel":"string"},"uncledEntropy":{"type":"string","description":"The entropy reduced by all uncles included in this block.","uniqueKey":"result.uncledEntropy","typeLabel":"string"},"utxoRoot":{"type":"string","description":"The root hash of the UTXO ledger state trie.","uniqueKey":"result.utxoRoot","typeLabel":"string"},"woHeader":{"type":"object","description":"The work object header.","properties":{"coinbase":{"type":"string","description":"The address of the account that mined this block.","uniqueKey":"result.woHeader.coinbase","typeLabel":"string"},"difficulty":{"type":"string","description":"The difficulty achieved by this block.","uniqueKey":"result.woHeader.difficulty","typeLabel":"string"},"headerHash":{"type":"string","description":"The hash of the work object header data.","uniqueKey":"result.woHeader.headerHash","typeLabel":"string"},"location":{"type":"string","description":"The 4 byte zone location identifier of the block.","uniqueKey":"result.woHeader.location","typeLabel":"string"},"lock":{"type":"string","description":"The duration that the block rewards for this block are locked.","uniqueKey":"result.woHeader.lock","typeLabel":"string"},"mixHash":{"type":"string","description":"The ProgPOW mix hash of this block.","uniqueKey":"result.woHeader.mixHash","typeLabel":"string"},"nonce":{"type":"string","description":"The random number used in the valid proof-of-work.","uniqueKey":"result.woHeader.nonce","typeLabel":"string"},"number":{"type":"string","description":"The block number.","uniqueKey":"result.woHeader.number","typeLabel":"string"},"parentHash":{"type":"string","description":"The hash of the parent block this block was mined on.","uniqueKey":"result.woHeader.parentHash","typeLabel":"string"},"primaryCoinbase":{"type":"string","description":"The primary coinbase of the miner of this block. Determines whether block rewards are paid out in Quai or Qi.","uniqueKey":"result.woHeader.primaryCoinbase","typeLabel":"string"},"primeTerminusNumber":{"type":"string","description":"The number of the most recent prime block the shard that this block was included in.","uniqueKey":"result.woHeader.primeTerminusNumber","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp for when this block was collated.","uniqueKey":"result.woHeader.timestamp","typeLabel":"string"},"txHash":{"type":"string","description":"The hash of one or more transactions worked and included in the block.","uniqueKey":"result.woHeader.txHash","typeLabel":"string"}},"uniqueKey":"result.woHeader","typeLabel":"object"}},"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","quaiStateSize":"0xad2d","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"}},"description":"The block header data for the given hash.","uniqueKey":"result","typeLabel":"object"},"id":{"type":"integer","example":1,"uniqueKey":"id","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"jsonrpc":"2.0","result":{"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","quaiStateSize":"0xad2d","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"}},"id":1}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"69bcbf24-1b6a-4779-9d26-61f78b2ea3dd":{"url":"https://rpc.quai.network/cyprus1"}}},"originalFileLocation":"api-reference/openapi-spec/blocks/openapi-getPendingHeader.json"},"subdomain":"dominantstrategies","siteName":"Quai Network Docs","title":"getPendingHeader - Quai Network Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/build/playground/blocks/getPendingHeader","matchLevel":0},"cn":{"href":"/cn/build/playground/blocks/getPendingHeader","matchLevel":1},"jp":{"href":"/jp/build/playground/blocks/getPendingHeader","matchLevel":1},"ko":{"href":"/ko/build/playground/blocks/getPendingHeader","matchLevel":1}}},"lastModified":"2025-08-13T02:56:54.435Z","originalFileLocation":"build/playground/blocks/getPendingHeader.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Returns the current pending block header.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Quai Network Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dominantstrategies/FutXLxhNGxK-_03f/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dominantstrategies/FutXLxhNGxK-_03f/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dominantstrategies/FutXLxhNGxK-_03f/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dominantstrategies/FutXLxhNGxK-_03f/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dominantstrategies/FutXLxhNGxK-_03f/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dominantstrategies/FutXLxhNGxK-_03f/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dominantstrategies/FutXLxhNGxK-_03f/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dominantstrategies/FutXLxhNGxK-_03f/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dominantstrategies/FutXLxhNGxK-_03f/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"getPendingHeader - Quai Network Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the current pending block header.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Quai Network Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.qu.ai/build/playground/blocks/getPendingHeader\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dominantstrategies.mintlify.app/_mintlify/api/og/v2?division=Blocks\u0026amp;title=getPendingHeader\u0026amp;description=Returns+the+current+pending+block+header.\u0026amp;theme=ade61136264ab5f937d561f7\u0026amp;signature=5bde09c83d8fc61702f3ca65e543d5c58a05b62b325549cf05a444a49020b04c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"getPendingHeader - Quai Network Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the current pending block header.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dominantstrategies.mintlify.app/_mintlify/api/og/v2?division=Blocks\u0026amp;title=getPendingHeader\u0026amp;description=Returns+the+current+pending+block+header.\u0026amp;theme=ade61136264ab5f937d561f7\u0026amp;signature=5bde09c83d8fc61702f3ca65e543d5c58a05b62b325549cf05a444a49020b04c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dominantstrategies/FutXLxhNGxK-_03f/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Quai Network Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#e22901\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.qu.ai/build/playground/blocks/getPendingHeader\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/build/playground/blocks/getPendingHeader.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.qu.ai/build/playground/blocks/getPendingHeader\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.qu.ai/cn/build/playground/blocks/getPendingHeader\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.qu.ai/jp/build/playground/blocks/getPendingHeader\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.qu.ai/ko/build/playground/blocks/getPendingHeader\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.qu.ai/build/playground/blocks/getPendingHeader\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.qu.ai/#organization\",\"name\":\"Quai Network Docs\",\"url\":\"https://docs.qu.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dominantstrategies/X4sucm2SYhI37-ls/images/logo.png?fit=max\u0026auto=format\u0026n=X4sucm2SYhI37-ls\u0026q=85\u0026s=1f1a4f07057d96ead9647663a2ac51ba\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.qu.ai#website\",\"name\":\"Quai Network Docs\",\"url\":\"https://docs.qu.ai\",\"publisher\":{\"@id\":\"https://docs.qu.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.qu.ai/build/playground/blocks/getPendingHeader#webpage\",\"url\":\"https://docs.qu.ai/build/playground/blocks/getPendingHeader\",\"name\":\"getPendingHeader\",\"description\":\"Returns the current pending block header.\",\"dateModified\":\"2025-08-13T02:56:54.435Z\",\"isPartOf\":{\"@id\":\"https://docs.qu.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.qu.ai/build/playground/blocks/getPendingHeader#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.qu.ai/build/playground/blocks/getPendingHeader#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Playground\",\"item\":\"https://docs.qu.ai/build/playground/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blocks\",\"item\":\"https://docs.qu.ai/build/playground/blocks/blockNumber\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"getPendingHeader\",\"item\":\"https://docs.qu.ai/build/playground/blocks/getPendingHeader\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.qu.ai/build/playground/blocks/getPendingHeader#apireference\",\"headline\":\"getPendingHeader\",\"name\":\"getPendingHeader\",\"description\":\"Returns the current pending block header.\",\"url\":\"https://docs.qu.ai/build/playground/blocks/getPendingHeader\",\"mainEntityOfPage\":{\"@id\":\"https://docs.qu.ai/build/playground/blocks/getPendingHeader#webpage\"},\"dateModified\":\"2025-08-13T02:56:54.435Z\",\"publisher\":{\"@id\":\"https://docs.qu.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.qu.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Quai Network Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Quai Network Docs","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Learn","pages":[{"title":"Learn","href":"/learn/introduction"}]},{"tab":"Build","groups":[{"group":"Getting Started","pages":[{"title":"Development Introduction","sidebarTitle":"Introduction","href":"/build/introduction"},{"title":"Networks","href":"/build/networks"},{"title":"Quick Links","href":"/build/quick-links"},{"title":"Quai Builders Program \u0026 Grants","sidebarTitle":"Builders Program \u0026 Grants","href":"/build/grants"}]},{"group":"Smart Contracts","pages":[{"title":"Solidity","href":"/build/smart-contracts/solidity"},{"title":"Deploy","href":"/build/smart-contracts/deployment"},{"title":"Opcode Additions","href":"/build/smart-contracts/opcode-additions"}]},{"group":"Transactions","pages":[{"title":"Overview","href":"/build/transactions/overview"},{"title":"Types","href":"/build/transactions/types"}]},{"group":"API Libaries","pages":[{"title":"JavaScript Libraries","href":"/build/apis/javascript-libraries"},{"group":"Postman","pages":[{"title":"Setting Up Postman","href":"/build/apis/postman/setup"},{"title":"Variables","href":"/build/apis/postman/environment"},{"title":"Making Requests","href":"/build/apis/postman/use"}]}]},{"group":"API Playground","pages":[{"title":"JSON-RPC Overview","href":"/build/playground/overview"},{"group":"Addresses","icon":"address-card","pages":[{"title":"getBalance","openapi":"openapi-getBalance POST /","href":"/build/playground/addresses/getBalance"},{"title":"getCode","openapi":"openapi-getCode POST /","href":"/build/playground/addresses/getCode"},{"title":"getStorageAt","openapi":"openapi-getStorageAt POST /","href":"/build/playground/addresses/getStorageAt"},{"title":"getProof","openapi":"openapi-getProof POST /","href":"/build/playground/addresses/getProof"},{"title":"getTransactionCount","openapi":"openapi-getTransactionCount POST /","href":"/build/playground/addresses/getTransactionCount"},{"title":"getOutpointsByAddressAndRange","openapi":"openapi-getOutpointsByAddressAndRange POST /","href":"/build/playground/addresses/getOutpointsByAddressAndRange"}]},{"group":"Blocks","icon":"cube","pages":[{"title":"blockNumber","openapi":"openapi-blockNumber POST /","href":"/build/playground/blocks/blockNumber"},{"title":"getHeaderhashByNumber","openapi":"openapi-getHeaderHashByNumber POST /","href":"/build/playground/blocks/getHeaderHashByNumber"},{"title":"getHeaderByHash","openapi":"openapi-getHeaderByHash POST /","href":"/build/playground/blocks/getHeaderByHash"},{"title":"getHeaderByNumber","openapi":"openapi-getHeaderByNumber POST /","description":"Returns the header for a given block number.","href":"/build/playground/blocks/getHeaderByNumber"},{"title":"getPendingHeader","openapi":"openapi-getPendingHeader POST /","href":"/build/playground/blocks/getPendingHeader"},{"title":"getBlockByNumber","openapi":"openapi-getBlockByNumber POST /","description":"Returns block data for a given block number.","href":"/build/playground/blocks/getBlockByNumber"},{"title":"getBlockByHash","openapi":"openapi-getBlockByHash POST /","href":"/build/playground/blocks/getBlockByHash"},{"title":"getBlockOrCandidateByHash","openapi":"openapi-getBlockOrCandidateByHash POST /","href":"/build/playground/blocks/getBlockOrCandidateByHash"},{"title":"uncleByNumberAndIndex","openapi":"openapi-getUncleByBlockNumberAndIndex POST /","href":"/build/playground/blocks/getUncleByBlockNumberAndIndex"},{"title":"uncleByHashAndIndex","openapi":"openapi-getUncleByBlockHashAndIndex POST /","href":"/build/playground/blocks/getUncleByBlockHashAndIndex"},{"title":"uncleCountByNumber","openapi":"openapi-getUncleCountByBlockNumber POST /","href":"/build/playground/blocks/getUncleCountByBlockNumber"},{"title":"uncleCountByHash","openapi":"openapi-getUncleCountByBlockHash POST /","href":"/build/playground/blocks/getUncleCountByBlockHash"}]},{"group":"Transactions","icon":"right-left","pages":[{"title":"blockTxCountByHash","openapi":"openapi-getBlockTransactionCountByHash POST /","href":"/build/playground/transactions/getBlockTransactionCountByHash"},{"title":"blockTxCountByNumber","openapi":"openapi-getBlockTransactionCountByNumber POST /","href":"/build/playground/transactions/getBlockTransactionCountByNumber"},{"title":"txByBlockAndIndex","openapi":"openapi-getTransactionByBlockNumberAndIndex POST /","href":"/build/playground/transactions/getTransactionByBlockNumberAndIndex"},{"title":"txByBlockHashAndIndex","openapi":"openapi-getTransactionByBlockHashAndIndex POST /","href":"/build/playground/transactions/getTransactionByBlockHashAndIndex"},{"title":"rawTxByNumberAndIndex","openapi":"openapi-getRawTransactionByBlockNumberAndIndex POST /","href":"/build/playground/transactions/getRawTransactionByBlockNumberAndIndex"},{"title":"rawTxByHashAndIndex","openapi":"openapi-getRawTransactionByBlockHashAndIndex POST /","href":"/build/playground/transactions/getRawTransactionByBlockHashAndIndex"},{"title":"rawTxByHash","openapi":"openapi-getRawTransactionByHash POST /","href":"/build/playground/transactions/getRawTransactionByHash"},{"title":"getTransactionByHash","openapi":"openapi-getTransactionByHash POST /","href":"/build/playground/transactions/getTransactionByHash"},{"title":"getTransactionReceipt","openapi":"openapi-getTransactionReceipt POST /","href":"/build/playground/transactions/getTransactionReceipt"},{"title":"sendRawTransaction","openapi":"openapi-sendRawTransaction POST /","href":"/build/playground/transactions/sendRawTransaction"},{"title":"createAccessList","openapi":"openapi-createAccessList POST /","href":"/build/playground/transactions/createAccessList"},{"title":"call","openapi":"openapi-call POST /","href":"/build/playground/transactions/call"}]},{"group":"Gas and Fee","icon":"gas-pump","pages":[{"title":"gasPrice","openapi":"openapi-gasPrice POST /","href":"/build/playground/gas-and-fee/gasPrice"},{"title":"feeHistory","openapi":"openapi-feeHistory POST /","href":"/build/playground/gas-and-fee/feeHistory"},{"title":"estimateGas","openapi":"openapi-estimateGas POST /","href":"/build/playground/gas-and-fee/estimateGas"}]},{"group":"Txpool","icon":"line-columns","pages":[{"title":"content","openapi":"openapi-content POST /","href":"/build/playground/txpool/content"},{"title":"contentFrom","openapi":"openapi-contentFrom POST /","href":"/build/playground/txpool/contentFrom"},{"title":"inspect","openapi":"openapi-inspect POST /","href":"/build/playground/txpool/inspect"},{"title":"status","openapi":"openapi-status POST /","href":"/build/playground/txpool/status"}]},{"group":"Debug","icon":"bug","pages":[{"title":"getBlockRlp","openapi":"openapi-getBlockRlp POST /","href":"/build/playground/debug/getBlockRlp"},{"title":"printBlock","openapi":"openapi-printBlock POST /","href":"/build/playground/debug/printBlock"},{"title":"traceTransaction","openapi":"openapi-traceTransaction POST /","href":"/build/playground/debug/traceTransaction"}]},{"group":"Net","icon":"wifi","pages":[{"title":"listening","openapi":"openapi-listening POST /","href":"/build/playground/net/listening"},{"title":"peerCount","openapi":"openapi-peerCount POST /","href":"/build/playground/net/peerCount"},{"title":"version","openapi":"openapi-version POST /","href":"/build/playground/net/version"}]},{"group":"Miner","icon":"pickaxe","pages":[{"title":"setLockupByte","openapi":"openapi-setLockupByte POST /","href":"/build/playground/miner/setLockupByte"},{"title":"setMinerPreference","openapi":"openapi-setMinerPreference POST /","href":"/build/playground/miner/setMinerPreference"}]},{"group":"Other","icon":"screwdriver-wrench","pages":[{"title":"chainId","openapi":"openapi-chainId POST /","href":"/build/playground/other/chainId"},{"title":"nodeLocation","openapi":"openapi-nodeLocation POST /","href":"/build/playground/other/nodeLocation"},{"title":"listRunningChains","openapi":"openapi-listRunningChains POST /","href":"/build/playground/other/listRunningChains"},{"title":"getProtocolExpansionNumber","openapi":"openapi-getProtocolExpansionNumber POST /","href":"/build/playground/other/getProtocolExpansionNumber"}]},{"group":"Conversion","icon":"right-left","pages":[{"title":"quaiToQi","openapi":"openapi-quaiToQi POST /","href":"/build/playground/conversion/quaiToQi"},{"title":"qiToQuai","openapi":"openapi-qiToQuai POST /","href":"/build/playground/conversion/qiToQuai"},{"title":"calculateConversionAmount","openapi":"openapi-calculateConversionAmount POST /","href":"/build/playground/conversion/calculateConversionAmount"}]}]}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/introduction"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/client/node"}]},{"tab":"Get Involved","pages":[{"title":"Get Involved","href":"/get-involved"}]}]},{"language":"cn","pages":[{"title":"cn","href":"/cn/build/playground/blocks/getPendingHeader"}]},{"language":"jp","pages":[{"title":"jp","href":"/jp/build/playground/blocks/getPendingHeader"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/build/playground/blocks/getPendingHeader"}]}]},"basePath":"","title":"getPendingHeader - Quai Network Docs","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}