{"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.4021","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":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"build/playground/blocks/getBlockByNumber","slug":"/build/playground/blocks/getBlockByNumber","pageMetadata":{"title":"getBlockByNumber","openapi":"openapi-getBlockByNumber POST /","description":"Returns block data for a given block number.","href":"/build/playground/blocks/getBlockByNumber"},"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 block data for a given block number.\"\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":"getBlockByNumber","openapi":"openapi-getBlockByNumber POST /","description":"Returns block data for a given block number.","href":"/build/playground/blocks/getBlockByNumber"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"quai_getBlockByNumber","description":"Returns block data for a given block number.","requestBody":"347c5f2c-3c7d-4004-9f22-5f6bdf738e3e","responses":{"200":"a07ae6a0-335f-4cd0-9931-8a8913db0e65"},"method":"post","type":"path","servers":["84becbe0-60dd-47ab-9590-149c9c32cfcc"],"security":[],"path":"/","baseUrlOptions":["https://rpc.quai.network/cyprus1"],"title":"quai_getBlockByNumber","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_getBlockByNumber","enum":["quai_getBlockByNumber"],"isRequired":true,"uniqueKey":"method","typeLabel":"enum\u003cstring>"},"params":{"type":"array","description":"The block number.","items":{"oneOf":[{"type":"string","title":"Block Number","description":"The block number.","uniqueKey":"params.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"boolean","title":"Full Block Indicator","description":"Full block indicator. If `true`, the block is returned with transactions. If `false`, the block is returned without transactions.","uniqueKey":"params.items.[INDEX].oneOf.1","typeLabel":"boolean"}],"uniqueKey":"params.items.[INDEX]","typeLabel":"string | boolean"},"maxItems":2,"minItems":2,"example":["0x1DF22D",false],"isRequired":true,"uniqueKey":"params","typeLabel":"(string | boolean)[]"},"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_getBlockByNumber","params":["0x1DF22D",false],"id":1}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"a07ae6a0-335f-4cd0-9931-8a8913db0e65":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0","uniqueKey":"jsonrpc","typeLabel":"string"},"result":{"type":"object","properties":{"hash":{"type":"string","description":"The hash of the block.","uniqueKey":"result.hash","typeLabel":"string"},"header":{"type":"object","properties":{"baseFeePerGas":{"type":"string","description":"The base fee per gas for the block.","uniqueKey":"result.header.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.header.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.header.etxEligibleSlices","typeLabel":"string"},"etxRollupRoot":{"type":"string","description":"Hash of all external transactions emitted since the previous coincident block.","uniqueKey":"result.header.etxRollupRoot","typeLabel":"string"},"etxSetRoot":{"type":"string","description":"The hash of all of the external transactions in the state trie.","uniqueKey":"result.header.etxSetRoot","typeLabel":"string"},"evmRoot":{"type":"string","description":"The root hash of the EVM Ledger state trie.","uniqueKey":"result.header.evmRoot","typeLabel":"string"},"exchangeRate":{"type":"string","description":"The exchange rate of Quai and Qi for this block.","uniqueKey":"result.header.exchangeRate","typeLabel":"string"},"expansionNumber":{"type":"string","description":"The number of dynamic shard expansions that have occurred since genesis.","uniqueKey":"result.header.expansionNumber","typeLabel":"string"},"extraData":{"type":"string","description":"Arbitrary hex-encoded extra data included in this block.","uniqueKey":"result.header.extraData","typeLabel":"string"},"gasLimit":{"type":"string","description":"The maximum gas allowed in this block.","uniqueKey":"result.header.gasLimit","typeLabel":"string"},"gasUsed":{"type":"string","description":"The total used gas by all transactions in this block.","uniqueKey":"result.header.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.header.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.header.manifestHash.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.header.manifestHash","typeLabel":"string[]"},"number":{"type":"array","description":"Integer block numbers at each level of the hierarchy.","items":{"type":"string","uniqueKey":"result.header.number.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.header.number","typeLabel":"string[]"},"outboundEtxsRoot":{"type":"string","description":"Hash of all outbound external transactions emitted in this block.","uniqueKey":"result.header.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.header.parentDeltaEntropy.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.header.parentDeltaEntropy","typeLabel":"string[]"},"parentHash":{"type":"array","description":"The hash of the parent block for each level of the hierarchy.","items":{"type":"string","uniqueKey":"result.header.parentHash.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.header.parentHash","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.header.parentEntropy.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.header.parentEntropy","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.header.parentUncledDeltaEntropy.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.header.parentUncledDeltaEntropy","typeLabel":"string[]"},"primeTerminusHash":{"type":"string","description":"The hash of the most recent prime block the shard this block was included in.","uniqueKey":"result.header.primeTerminusHash","typeLabel":"string"},"quaiStateSize":{"type":"string","description":"The size of the Quai Ledger state at this block.","uniqueKey":"result.header.quaiStateSize","typeLabel":"string"},"receiptsRoot":{"type":"string","description":"Receipt trie root hash of the block.","uniqueKey":"result.header.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.header.secondaryCoinbase","typeLabel":"string"},"size":{"type":"string","description":"The size of the block header in bytes.","uniqueKey":"result.header.size","typeLabel":"string"},"stateLimit":{"type":"string","description":"The total number of bytes of state allowed in this block.","uniqueKey":"result.header.stateLimit","typeLabel":"string"},"stateUsed":{"type":"string","description":"The number of bytes used in the state trie within this block.","uniqueKey":"result.header.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.header.thresholdCount","typeLabel":"string"},"transactionsRoot":{"type":"string","description":"The root of the transaction trie of the block.","uniqueKey":"result.header.transactionsRoot","typeLabel":"string"},"uncleHash":{"type":"string","description":"The hash of the uncles data in the block.","uniqueKey":"result.header.uncleHash","typeLabel":"string"},"uncledEntropy":{"type":"string","description":"The entropy reduced by all uncles included in this block.","uniqueKey":"result.header.uncledEntropy","typeLabel":"string"},"utxoRoot":{"type":"string","description":"The root hash of the UTXO ledger state trie.","uniqueKey":"result.header.utxoRoot","typeLabel":"string"}},"uniqueKey":"result.header","typeLabel":"object"},"interlinkHashes":{"type":"array","description":"The hashes of the interlink blocks.","items":{"type":"string","uniqueKey":"result.interlinkHashes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.interlinkHashes","typeLabel":"string[]"},"outboundEtxs":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"result.outboundEtxs.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The hashes of the outbound external transactions included in the block.","uniqueKey":"result.outboundEtxs.oneOf.0","typeLabel":"string[]"},{"type":"array","items":{"type":"object","properties":{"blockHash":{"type":"string","description":"The hash of the block this external transaction was included in.","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].blockHash","typeLabel":"string"},"blockNumber":{"type":"string","description":"The number of the block this external transaction was included in.","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].blockNumber","typeLabel":"string"},"from":{"type":"string","description":"The sender of the external transaction.","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].from","typeLabel":"string"},"gas":{"type":"string","description":"The gas limit of the external transaction.","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].gas","typeLabel":"string"},"hash":{"type":"string","description":"The hash of the external transaction.","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].hash","typeLabel":"string"},"input":{"type":"string","description":"The input data included in the external transaction.","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].input","typeLabel":"string"},"to":{"type":"string","description":"The recipient of the external transaction.","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].to","typeLabel":"string"},"transactionIndex":{"type":"string","description":"The index of the external transaction in the block among all transactions in the block.","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].transactionIndex","typeLabel":"string"},"value":{"type":"string","description":"The value sent in this transaction.","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].value","typeLabel":"string"},"type":{"type":"string","description":"The type of the transaction that spawned this external transaction.","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].type","typeLabel":"string"},"accessList":{"type":"array","description":"The access list of the transaction.","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].accessList","typeLabel":"array"},"originatingTxHash":{"type":"string","description":"The hash of the transaction that spawned this external transaction.","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].originatingTxHash","typeLabel":"string"},"etxIndex":{"type":"string","description":"The index of the external transaction among the other external transactions in the block.","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].etxIndex","typeLabel":"string"},"etxType":{"type":"string","description":"The type of the external transaction. (0: External, 1: Coinbase, 2: Conversion)","uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX].etxType","typeLabel":"string"}},"uniqueKey":"result.outboundEtxs.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"The full representation of each outbound external transaction included in the block.","uniqueKey":"result.outboundEtxs.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"result.outboundEtxs","typeLabel":"string[] | object[]"},"size":{"type":"string","description":"The size of the block in bytes.","uniqueKey":"result.size","typeLabel":"string"},"subManifest":{"type":"array","description":"The sub-manifests of the block.","items":{"type":"string","uniqueKey":"result.subManifest.items.[INDEX]","typeLabel":"string"},"uniqueKey":"result.subManifest","typeLabel":"string[]"},"totalEntropy":{"type":"string","description":"The total entropy of the block.","uniqueKey":"result.totalEntropy","typeLabel":"string"},"transactions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"result.transactions.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The hashes of the transactions included in the block.","uniqueKey":"result.transactions.oneOf.0","typeLabel":"string[]"},{"type":"array","items":{"type":"object","uniqueKey":"result.transactions.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"The full representation of the transactions included in the block.","uniqueKey":"result.transactions.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"result.transactions","typeLabel":"string[] | object[]"},"uncles":{"type":"array","description":"The uncles of the block.","items":{"type":"object","properties":{"coinbase":{"type":"string","description":"The address of the account that mined this uncle block.","uniqueKey":"result.uncles.items.[INDEX].coinbase","typeLabel":"string"},"difficulty":{"type":"string","description":"The difficulty for the uncle block.","uniqueKey":"result.uncles.items.[INDEX].difficulty","typeLabel":"string"},"headerHash":{"type":"string","description":"The header hash of the uncle block.","uniqueKey":"result.uncles.items.[INDEX].headerHash","typeLabel":"string"},"location":{"type":"string","description":"The 4 byte zone location identifier of the uncle block.","uniqueKey":"result.uncles.items.[INDEX].location","typeLabel":"string"},"mixHash":{"type":"string","description":"The ProgPOW mix hash of the uncle block.","uniqueKey":"result.uncles.items.[INDEX].mixHash","typeLabel":"string"},"nonce":{"type":"string","description":"The random number used in the valid proof-of-work.","uniqueKey":"result.uncles.items.[INDEX].nonce","typeLabel":"string"},"number":{"type":"string","description":"The number of the uncle block.","uniqueKey":"result.uncles.items.[INDEX].number","typeLabel":"string"},"parentHash":{"type":"string","description":"The hash of the parent block this uncle was mined on top of.","uniqueKey":"result.uncles.items.[INDEX].parentHash","typeLabel":"string"},"primeTerminusNumber":{"type":"string","description":"The number of the most recent prime block the shard this uncle was included in.","uniqueKey":"result.uncles.items.[INDEX].primeTerminusNumber","typeLabel":"string"},"time":{"type":"string","description":"Timestamp for when the uncle block was collated.","uniqueKey":"result.uncles.items.[INDEX].time","typeLabel":"string"},"txHash":{"type":"string","description":"The hash of one or more transactions worked and included in the uncle.","uniqueKey":"result.uncles.items.[INDEX].txHash","typeLabel":"string"},"workShare":{"type":"boolean","description":"Inidcator of whether the uncle block is a work share.","uniqueKey":"result.uncles.items.[INDEX].workShare","typeLabel":"boolean"}},"uniqueKey":"result.uncles.items.[INDEX]","typeLabel":"object"},"uniqueKey":"result.uncles","typeLabel":"object[]"},"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"},"workShares":{"type":"array","description":"The work shares of the block.","uniqueKey":"result.workShares","typeLabel":"array"}},"example":{"hash":"0x44d0080caa510ebbfd94a0b5458f55cf3ef1aae1c927a569e3f7b1d62d14050d","header":{"baseFeePerGas":"0x0","efficiencyScore":"0x0","etxEligibleSlices":"0x0100000000000000000000000000000000000000000000000000000000000000","etxRollupRoot":"0xefedf4a872a58cf75c151b07c899e1935e715b8e96d1d7a3762098baee6a190c","etxSetRoot":"0x5081c74207b8b250b6b737c59304da6e96bff3e43efe22ec1a371054222d278c","evmRoot":"0xe5a3e7e3027f0a3a476cc34c569743c285333bc3d1af49b0b513e26cbafed117","exchangeRate":"0x38d7ea4c68000","expansionNumber":"0x0","extraData":"0xd78776302e31392e3088676f312e32332e31856c696e7578","gasLimit":"0x2625a00","gasUsed":"0x0","interlinkRootHash":"0x41af39c27ae9ec516256273dac73e49f77e7f73ba2cdf0c4ee430e41949688dc","manifestHash":["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","0x1a32d49ac346152143b3c26b75fa1c65307e6cce31a3cb8ef249fbd8b31cca18","0x2318f6ff55c995c83b0ecc2bea5c55bbfca985ca9a11aeaed17dcadcc4816789"],"number":["0x4c","0xc4"],"outboundEtxsRoot":"0xab8fa086bb1bbd363ffb25d03b3fc1dd7ec367638be6e2d6ff27ddbb8d131fc7","parentDeltaEntropy":["0x0","0x0","0x231a26aae7abbbd2f4"],"parentEntropy":["0x323a62e45b6837238b24","0x323a62e45b6837238b24","0x325dd12ce93390b9fdb1"],"parentHash":["0x80bb9de7b8d1e21d9afec56855152d00def1cc7c7647083cbbaebad3d51afe53","0x80bb9de7b8d1e21d9afec56855152d00def1cc7c7647083cbbaebad3d51afe53"],"parentUncledDeltaEntropy":["0x0","0x0","0x0"],"primeTerminusHash":"0x80bb9de7b8d1e21d9afec56855152d00def1cc7c7647083cbbaebad3d51afe53","quaiStateSize":"0xad2d","receiptsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","secondaryCoinbase":"0x00A3E45AA16163F2663015B6695894D918866d19","size":"0x2a9","stateLimit":"0x2625a00","stateUsed":"0x0","thresholdCount":"0x0","transactionsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","uncleHash":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","uncledEntropy":"0x0","utxoRoot":"0x877d9ced2cc8b0fc3108ec5b5a3f09a49d8a70d190bfeeb6d7b482a4d42fc31c"},"interlinkHashes":[],"outboundEtxs":[{"blockHash":"0x44d0080caa510ebbfd94a0b5458f55cf3ef1aae1c927a569e3f7b1d62d14050d","blockNumber":"0x15e","from":"0x0003e45Aa16163f2663015B6695894D918866D19","gas":"0x5208","hash":"0xa46b006daf696c20b4cd11232a5dc58a284293d9537357380377dd89141a7ad3","input":"0x01","to":"0x0003e45Aa16163f2663015B6695894D918866D19","transactionIndex":"0x0","value":"0xf4240","type":"0x1","accessList":[],"originatingTxHash":"0x0000a437f4296823f1a95d3f380ac388b9795c84d8d9cc85314618cfeff53d66","etxIndex":"0x0","etxType":"0x1"}],"size":"0x437","subManifest":[],"totalEntropy":"0x32844728974bc93b6760","transactions":[],"uncles":[],"woHeader":{"difficulty":"0x520e7944b","headerHash":"0x5de47cfcca055b0a2eea531e7edd14f8b4f8221a7f9b2cc3d80d3b73cfd51a97","location":"0x0000","lock":"0x1","mixHash":"0x4d9e77f36ee76199dee28ee5cebfbd08783a62d1f4c66173212c4b0e7babb6da","nonce":"0xa85880000063d6e1","number":"0x15e","parentHash":"0x9115a437f4296823f1a95d3f380ac388b9795c84d8d9cc85314618cfeff53d66","primaryCoinbase":"0x0003e45Aa16163f2663015B6695894D918866D19","primeTerminusNumber":"0x4b","timestamp":"0x66fd8176","txHash":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"},"workshares":[]},"description":"The block data for the corresponding number.","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":{"hash":"0x44d0080caa510ebbfd94a0b5458f55cf3ef1aae1c927a569e3f7b1d62d14050d","header":{"baseFeePerGas":"0x0","efficiencyScore":"0x0","etxEligibleSlices":"0x0100000000000000000000000000000000000000000000000000000000000000","etxRollupRoot":"0xefedf4a872a58cf75c151b07c899e1935e715b8e96d1d7a3762098baee6a190c","etxSetRoot":"0x5081c74207b8b250b6b737c59304da6e96bff3e43efe22ec1a371054222d278c","evmRoot":"0xe5a3e7e3027f0a3a476cc34c569743c285333bc3d1af49b0b513e26cbafed117","exchangeRate":"0x38d7ea4c68000","expansionNumber":"0x0","extraData":"0xd78776302e31392e3088676f312e32332e31856c696e7578","gasLimit":"0x2625a00","gasUsed":"0x0","interlinkRootHash":"0x41af39c27ae9ec516256273dac73e49f77e7f73ba2cdf0c4ee430e41949688dc","manifestHash":["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","0x1a32d49ac346152143b3c26b75fa1c65307e6cce31a3cb8ef249fbd8b31cca18","0x2318f6ff55c995c83b0ecc2bea5c55bbfca985ca9a11aeaed17dcadcc4816789"],"number":["0x4c","0xc4"],"outboundEtxsRoot":"0xab8fa086bb1bbd363ffb25d03b3fc1dd7ec367638be6e2d6ff27ddbb8d131fc7","parentDeltaEntropy":["0x0","0x0","0x231a26aae7abbbd2f4"],"parentEntropy":["0x323a62e45b6837238b24","0x323a62e45b6837238b24","0x325dd12ce93390b9fdb1"],"parentHash":["0x80bb9de7b8d1e21d9afec56855152d00def1cc7c7647083cbbaebad3d51afe53","0x80bb9de7b8d1e21d9afec56855152d00def1cc7c7647083cbbaebad3d51afe53"],"parentUncledDeltaEntropy":["0x0","0x0","0x0"],"primeTerminusHash":"0x80bb9de7b8d1e21d9afec56855152d00def1cc7c7647083cbbaebad3d51afe53","quaiStateSize":"0xad2d","receiptsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","secondaryCoinbase":"0x00A3E45AA16163F2663015B6695894D918866d19","size":"0x2a9","stateLimit":"0x2625a00","stateUsed":"0x0","thresholdCount":"0x0","transactionsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","uncleHash":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","uncledEntropy":"0x0","utxoRoot":"0x877d9ced2cc8b0fc3108ec5b5a3f09a49d8a70d190bfeeb6d7b482a4d42fc31c"},"interlinkHashes":[],"outboundEtxs":[{"blockHash":"0x44d0080caa510ebbfd94a0b5458f55cf3ef1aae1c927a569e3f7b1d62d14050d","blockNumber":"0x15e","from":"0x0003e45Aa16163f2663015B6695894D918866D19","gas":"0x5208","hash":"0xa46b006daf696c20b4cd11232a5dc58a284293d9537357380377dd89141a7ad3","input":"0x01","to":"0x0003e45Aa16163f2663015B6695894D918866D19","transactionIndex":"0x0","value":"0xf4240","type":"0x1","accessList":[],"originatingTxHash":"0x0000a437f4296823f1a95d3f380ac388b9795c84d8d9cc85314618cfeff53d66","etxIndex":"0x0","etxType":"0x1"}],"size":"0x437","subManifest":[],"totalEntropy":"0x32844728974bc93b6760","transactions":[],"uncles":[],"woHeader":{"difficulty":"0x520e7944b","headerHash":"0x5de47cfcca055b0a2eea531e7edd14f8b4f8221a7f9b2cc3d80d3b73cfd51a97","location":"0x0000","lock":"0x1","mixHash":"0x4d9e77f36ee76199dee28ee5cebfbd08783a62d1f4c66173212c4b0e7babb6da","nonce":"0xa85880000063d6e1","number":"0x15e","parentHash":"0x9115a437f4296823f1a95d3f380ac388b9795c84d8d9cc85314618cfeff53d66","primaryCoinbase":"0x0003e45Aa16163f2663015B6695894D918866D19","primeTerminusNumber":"0x4b","timestamp":"0x66fd8176","txHash":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"},"workshares":[]},"id":1}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"84becbe0-60dd-47ab-9590-149c9c32cfcc":{"url":"https://rpc.quai.network/cyprus1"}}},"originalFileLocation":"api-reference/openapi-spec/blocks/openapi-getBlockByNumber.json"},"subdomain":"dominantstrategies","siteName":"Quai Network Docs","title":"getBlockByNumber - Quai Network Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/build/playground/blocks/getBlockByNumber","matchLevel":0},"cn":{"href":"/cn/build/playground/blocks/getBlockByNumber","matchLevel":1},"jp":{"href":"/jp/build/playground/blocks/getBlockByNumber","matchLevel":1},"ko":{"href":"/ko/build/playground/blocks/getBlockByNumber","matchLevel":1}}},"lastModified":"2025-08-13T02:56:54.377Z","originalFileLocation":"build/playground/blocks/getBlockByNumber.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 block data for a given block number.\">\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=\"getBlockByNumber - Quai Network Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns block data for a given block number.\">\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/getBlockByNumber\">\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=getBlockByNumber\u0026amp;description=Returns+block+data+for+a+given+block+number.\u0026amp;theme=ade61136264ab5f937d561f7\u0026amp;signature=9fd628c322bf9b00de90c0d120fb7b7b17ae43b7821ecf9cf53bba41a0624242\">\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=\"getBlockByNumber - Quai Network Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns block data for a given block number.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dominantstrategies.mintlify.app/_mintlify/api/og/v2?division=Blocks\u0026amp;title=getBlockByNumber\u0026amp;description=Returns+block+data+for+a+given+block+number.\u0026amp;theme=ade61136264ab5f937d561f7\u0026amp;signature=9fd628c322bf9b00de90c0d120fb7b7b17ae43b7821ecf9cf53bba41a0624242\">\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/getBlockByNumber\">\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/getBlockByNumber.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.qu.ai/build/playground/blocks/getBlockByNumber\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.qu.ai/cn/build/playground/blocks/getBlockByNumber\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.qu.ai/jp/build/playground/blocks/getBlockByNumber\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.qu.ai/ko/build/playground/blocks/getBlockByNumber\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.qu.ai/build/playground/blocks/getBlockByNumber\">\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/getBlockByNumber#webpage\",\"url\":\"https://docs.qu.ai/build/playground/blocks/getBlockByNumber\",\"name\":\"getBlockByNumber\",\"description\":\"Returns block data for a given block number.\",\"dateModified\":\"2025-08-13T02:56:54.377Z\",\"isPartOf\":{\"@id\":\"https://docs.qu.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.qu.ai/build/playground/blocks/getBlockByNumber#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.qu.ai/build/playground/blocks/getBlockByNumber#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\":\"getBlockByNumber\",\"item\":\"https://docs.qu.ai/build/playground/blocks/getBlockByNumber\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.qu.ai/build/playground/blocks/getBlockByNumber#apireference\",\"headline\":\"getBlockByNumber\",\"name\":\"getBlockByNumber\",\"description\":\"Returns block data for a given block number.\",\"url\":\"https://docs.qu.ai/build/playground/blocks/getBlockByNumber\",\"mainEntityOfPage\":{\"@id\":\"https://docs.qu.ai/build/playground/blocks/getBlockByNumber#webpage\"},\"dateModified\":\"2025-08-13T02:56:54.377Z\",\"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 /","href":"/build/playground/blocks/getHeaderByNumber"},{"title":"getPendingHeader","openapi":"openapi-getPendingHeader POST /","description":"Returns the current pending block header.","href":"/build/playground/blocks/getPendingHeader"},{"title":"getBlockByNumber","openapi":"openapi-getBlockByNumber POST /","href":"/build/playground/blocks/getBlockByNumber"},{"title":"getBlockByHash","openapi":"openapi-getBlockByHash POST /","description":"Returns block data for a given block hash.","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/getBlockByNumber"}]},{"language":"jp","pages":[{"title":"jp","href":"/jp/build/playground/blocks/getBlockByNumber"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/build/playground/blocks/getBlockByNumber"}]}]},"title":"getBlockByNumber - Quai Network Docs","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}