{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"NEAR Docs","colors":{"primary":"#1fb858","light":"#1fb858","dark":"#1fb858"},"logo":{"light":"https://mintcdn.com/neardocs/qO2GD-gji1aakHqN/assets/logo.svg?fit=max\u0026auto=format\u0026n=qO2GD-gji1aakHqN\u0026q=85\u0026s=fe9551b1c3085e39a97965b2886dad4a","dark":"https://mintcdn.com/neardocs/qO2GD-gji1aakHqN/assets/logo_rev.svg?fit=max\u0026auto=format\u0026n=qO2GD-gji1aakHqN\u0026q=85\u0026s=1455d1ccc3385495e8b52e6657ce8c84"},"favicon":"https://mintcdn.com/neardocs/qO2GD-gji1aakHqN/assets/favicon.svg?fit=max\u0026auto=format\u0026n=qO2GD-gji1aakHqN\u0026q=85\u0026s=ef64e8324f93ca4f703d8ebad5e32c53","api":{"openapi":"openapi.json","playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["bash","javascript","python"]}},"appearance":{"default":"system","strict":false},"navbar":{"links":[{"icon":"wallet","href":"https://wallet.near.org/","label":"Wallets"},{"icon":"search","href":"https://explorer.near.org/","label":"Explorers"},{"icon":"layout-grid","href":"https://nearcatalog.xyz/","label":"NEAR Catalog"}]},"search":{"prompt":"Search docs..."},"seo":{"metatags":{"google-site-verification":"x36GvqeIYFjDAl2NNFM-83XykcMYMLRY6f9lgUZbDpA"}},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":true},"integrations":{"ga4":{"measurementId":"G-TMG0M3DPNW"}},"contextual":{"options":["copy","claude","cursor"],"display":"header"},"interaction":{"drilldown":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"neardocs","hasAudioNarration":false,"actualSubdomain":"neardocs","customDomains":["docs.near.org"],"gitSource":{"type":"github","owner":"near","repo":"docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4bf14f29cac1d3d63ac92","collectionId":"2a0d7f96-353b-4855-824e-1fff6700400a","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4bf14f29cac1d3d63ac92"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae4bf14f29cac1d3d63ac92","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"RPC","count":46},{"language":"default","tag":"Smart Contracts","count":42},{"language":"default","tag":"Protocol","count":30},{"language":"default","tag":"Building Smart Contracts","count":30},{"language":"default","tag":"Tokens \u0026 Primitives","count":21},{"language":"default","tag":"Concepts","count":19},{"language":"default","tag":"Tutorials","count":19},{"language":"default","tag":"Home","count":17},{"language":"default","tag":"Multi-Chain","count":15},{"language":"default","tag":"Web3 Apps","count":15}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":".home-code code{max-height:300px;overflow-y:auto}.github-source-link{display:flex;justify-content:flex-end;margin-top:-1rem;margin-bottom:1.25rem;font-size:.75rem;line-height:1rem}.github-source-link>[data-as=p],.github-source-link>p{margin:0}.github-source-link a{display:inline-flex;align-items:center;gap:.375rem;color:#656d76;border-bottom:0;text-decoration:none}.github-source-link a::before{content:\"\";display:inline-block;width:.875rem;height:.875rem;flex-shrink:0;background-color:currentColor;mask:url(/assets/github.svg) center/contain no-repeat;-webkit-mask:url(/assets/github.svg) center/contain no-repeat}.github-source-link a:hover{text-decoration:underline}.dark .github-source-link a{color:#8b949e}"}],"page":{"pagePath":"api-reference/post-experimental_view_state","slug":"/api-reference/post-experimental_view_state","pageMetadata":{"title":"Post experimental view state","description":"Returns the state (key-value pairs) of a contract based on the key prefix.","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_view_state","href":"/api-reference/post-experimental_view_state","autogeneratedByOpenApi":true},"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 state (key-value pairs) of a contract based on the key prefix.\"\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":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"Post experimental view state","description":"Returns the state (key-value pairs) of a contract based on the key prefix.","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_view_state","href":"/api-reference/post-experimental_view_state","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/neardocs/86bd1b8645a68f87/gleap.js","/_mintlify/custom/neardocs/12aaa8206e84cdb3/scripts/patch-openapi.js"],"openApiReferenceData":{"operation":{"description":"Returns the state (key-value pairs) of a contract based on the key prefix.","operationId":"EXPERIMENTAL_view_state","requestBody":"83eb7334-50c3-42f6-ac45-6b346e4255f5","responses":{"200":"59702432-a116-4bb3-a1c7-fe553ab6bf47"},"method":"post","type":"path","servers":[],"security":[],"path":"/EXPERIMENTAL_view_state","baseUrlOptions":[],"title":"","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"method":{"enum":["EXPERIMENTAL_view_state"],"type":"string","isRequired":true,"uniqueKey":"method","typeLabel":"enum\u003cstring>"},"params":{"oneOf":[{"type":"object","title":"RpcViewStateRequest","required":["account_id","prefix_base64","block_id"],"properties":{"block_id":{"oneOf":[{"type":"integer","title":"block_height","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"params.oneOf.0.block_id.oneOf.0","typeLabel":"integer\u003cuint64>"},{"type":"string","isRequired":true,"uniqueKey":"params.oneOf.0.block_id.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"params.oneOf.0.block_id","typeLabel":"integer\u003cuint64> | string"},"account_id":{"description":"NEAR Account Identifier.\n\nThis is a unique, syntactically valid, human-readable account identifier on the NEAR network.\n\n[See the crate-level docs for information about validation.](index.html#account-id-rules)\n\nAlso see [Error kind precedence](AccountId#error-kind-precedence).\n\n## Examples\n\n```\nuse near_account_id::AccountId;\n\nlet alice: AccountId = \"alice.near\".parse().unwrap();\n\nassert!(\"ƒelicia.near\".parse::\u003cAccountId>().is_err()); // (ƒ is not f)\n```","title":"AccountId","type":"string","isRequired":true,"uniqueKey":"params.oneOf.0.account_id","typeLabel":"string"},"prefix_base64":{"description":"This type is used to mark keys (arrays of bytes) that are queried from store.\n\nNOTE: Currently, this type is only used in the view_client and RPC to be able to transparently\npretty-serialize the bytes arrays as base64-encoded strings (see `serialize.rs`).","format":"bytes","type":"string","isRequired":true,"uniqueKey":"params.oneOf.0.prefix_base64","typeLabel":"string\u003cbytes>"},"after_key_base64":{"oneOf":[{"type":"string","description":"Resume listing after this key (exclusive); must start with `prefix`.","format":"bytes","uniqueKey":"params.oneOf.0.after_key_base64.oneOf.0","typeLabel":"string\u003cbytes>"},{"description":"Resume listing after this key (exclusive); must start with `prefix`.","enum":[null],"uniqueKey":"params.oneOf.0.after_key_base64.oneOf.1","typeLabel":"any"},{"type":"null","description":"Resume listing after this key (exclusive); must start with `prefix`.","enum":[null],"uniqueKey":"params.oneOf.0.after_key_base64.oneOf.2","typeLabel":"null"}],"uniqueKey":"params.oneOf.0.after_key_base64","typeLabel":"string\u003cbytes> | any | null"},"include_proof":{"default":false,"type":"boolean","uniqueKey":"params.oneOf.0.include_proof","typeLabel":"boolean"},"limit":{"oneOf":[{"default":null,"description":"Maximum number of entries to return in this page.","format":"uint32","minimum":1,"type":"integer","uniqueKey":"params.oneOf.0.limit.oneOf.0","typeLabel":"integer\u003cuint32>"},{"default":null,"description":"Maximum number of entries to return in this page.","format":"uint32","minimum":1,"type":"null","uniqueKey":"params.oneOf.0.limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.0.limit","typeLabel":"integer\u003cuint32> | null"}},"isRequired":true,"uniqueKey":"params.oneOf.0","typeLabel":"RpcViewStateRequest · object"},{"type":"object","title":"RpcViewStateRequest","required":["account_id","prefix_base64","finality"],"properties":{"finality":{"description":"Different types of finality.","enum":["optimistic","near-final","final"],"type":"string","isRequired":true,"uniqueKey":"params.oneOf.1.finality","typeLabel":"enum\u003cstring>"},"account_id":{"description":"NEAR Account Identifier.\n\nThis is a unique, syntactically valid, human-readable account identifier on the NEAR network.\n\n[See the crate-level docs for information about validation.](index.html#account-id-rules)\n\nAlso see [Error kind precedence](AccountId#error-kind-precedence).\n\n## Examples\n\n```\nuse near_account_id::AccountId;\n\nlet alice: AccountId = \"alice.near\".parse().unwrap();\n\nassert!(\"ƒelicia.near\".parse::\u003cAccountId>().is_err()); // (ƒ is not f)\n```","title":"AccountId","type":"string","isRequired":true,"uniqueKey":"params.oneOf.1.account_id","typeLabel":"string"},"prefix_base64":{"description":"This type is used to mark keys (arrays of bytes) that are queried from store.\n\nNOTE: Currently, this type is only used in the view_client and RPC to be able to transparently\npretty-serialize the bytes arrays as base64-encoded strings (see `serialize.rs`).","format":"bytes","type":"string","isRequired":true,"uniqueKey":"params.oneOf.1.prefix_base64","typeLabel":"string\u003cbytes>"},"after_key_base64":{"oneOf":[{"type":"string","description":"Resume listing after this key (exclusive); must start with `prefix`.","format":"bytes","uniqueKey":"params.oneOf.1.after_key_base64.oneOf.0","typeLabel":"string\u003cbytes>"},{"description":"Resume listing after this key (exclusive); must start with `prefix`.","enum":[null],"uniqueKey":"params.oneOf.1.after_key_base64.oneOf.1","typeLabel":"any"},{"type":"null","description":"Resume listing after this key (exclusive); must start with `prefix`.","enum":[null],"uniqueKey":"params.oneOf.1.after_key_base64.oneOf.2","typeLabel":"null"}],"uniqueKey":"params.oneOf.1.after_key_base64","typeLabel":"string\u003cbytes> | any | null"},"include_proof":{"default":false,"type":"boolean","uniqueKey":"params.oneOf.1.include_proof","typeLabel":"boolean"},"limit":{"oneOf":[{"default":null,"description":"Maximum number of entries to return in this page.","format":"uint32","minimum":1,"type":"integer","uniqueKey":"params.oneOf.1.limit.oneOf.0","typeLabel":"integer\u003cuint32>"},{"default":null,"description":"Maximum number of entries to return in this page.","format":"uint32","minimum":1,"type":"null","uniqueKey":"params.oneOf.1.limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.1.limit","typeLabel":"integer\u003cuint32> | null"}},"isRequired":true,"uniqueKey":"params.oneOf.1","typeLabel":"RpcViewStateRequest · object"},{"type":"object","title":"RpcViewStateRequest","required":["account_id","prefix_base64","sync_checkpoint"],"properties":{"sync_checkpoint":{"enum":["genesis","earliest_available"],"type":"string","isRequired":true,"uniqueKey":"params.oneOf.2.sync_checkpoint","typeLabel":"enum\u003cstring>"},"account_id":{"description":"NEAR Account Identifier.\n\nThis is a unique, syntactically valid, human-readable account identifier on the NEAR network.\n\n[See the crate-level docs for information about validation.](index.html#account-id-rules)\n\nAlso see [Error kind precedence](AccountId#error-kind-precedence).\n\n## Examples\n\n```\nuse near_account_id::AccountId;\n\nlet alice: AccountId = \"alice.near\".parse().unwrap();\n\nassert!(\"ƒelicia.near\".parse::\u003cAccountId>().is_err()); // (ƒ is not f)\n```","title":"AccountId","type":"string","isRequired":true,"uniqueKey":"params.oneOf.2.account_id","typeLabel":"string"},"prefix_base64":{"description":"This type is used to mark keys (arrays of bytes) that are queried from store.\n\nNOTE: Currently, this type is only used in the view_client and RPC to be able to transparently\npretty-serialize the bytes arrays as base64-encoded strings (see `serialize.rs`).","format":"bytes","type":"string","isRequired":true,"uniqueKey":"params.oneOf.2.prefix_base64","typeLabel":"string\u003cbytes>"},"after_key_base64":{"oneOf":[{"type":"string","description":"Resume listing after this key (exclusive); must start with `prefix`.","format":"bytes","uniqueKey":"params.oneOf.2.after_key_base64.oneOf.0","typeLabel":"string\u003cbytes>"},{"description":"Resume listing after this key (exclusive); must start with `prefix`.","enum":[null],"uniqueKey":"params.oneOf.2.after_key_base64.oneOf.1","typeLabel":"any"},{"type":"null","description":"Resume listing after this key (exclusive); must start with `prefix`.","enum":[null],"uniqueKey":"params.oneOf.2.after_key_base64.oneOf.2","typeLabel":"null"}],"uniqueKey":"params.oneOf.2.after_key_base64","typeLabel":"string\u003cbytes> | any | null"},"include_proof":{"default":false,"type":"boolean","uniqueKey":"params.oneOf.2.include_proof","typeLabel":"boolean"},"limit":{"oneOf":[{"default":null,"description":"Maximum number of entries to return in this page.","format":"uint32","minimum":1,"type":"integer","uniqueKey":"params.oneOf.2.limit.oneOf.0","typeLabel":"integer\u003cuint32>"},{"default":null,"description":"Maximum number of entries to return in this page.","format":"uint32","minimum":1,"type":"null","uniqueKey":"params.oneOf.2.limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.2.limit","typeLabel":"integer\u003cuint32> | null"}},"isRequired":true,"uniqueKey":"params.oneOf.2","typeLabel":"RpcViewStateRequest · object"}],"isRequired":true,"uniqueKey":"params","typeLabel":"RpcViewStateRequest · object"},"id":{"type":"string","default":"dontcare","description":"JSON-RPC request id. Auto-populated; can be any string.","uniqueKey":"id","typeLabel":"string"},"jsonrpc":{"type":"string","default":"2.0","enum":["2.0"],"description":"JSON-RPC protocol version. Always `2.0`.","uniqueKey":"jsonrpc","typeLabel":"enum\u003cstring>"}},"required":["params","method"],"title":"JsonRpcRequest_for_EXPERIMENTAL_view_state","type":"object","uniqueKey":"","typeLabel":"JsonRpcRequest_for_EXPERIMENTAL_view_state · object"},"examples":{"Example":{"title":"Example","value":{"method":"EXPERIMENTAL_view_state","params":{"block_id":1,"account_id":"\u003cstring>","prefix_base64":"\u003cstring>","after_key_base64":"\u003cstring>","include_proof":false,"limit":null},"id":"dontcare","jsonrpc":"2.0"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"59702432-a116-4bb3-a1c7-fe553ab6bf47":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"JsonRpcResponse_for_RpcViewStateResponse_and_RpcViewStateError","required":["jsonrpc","id","result"],"properties":{"result":{"description":"Resulting state values for a view state query request","properties":{"block_hash":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.result.block_hash","typeLabel":"string"},"block_height":{"format":"uint64","minimum":0,"type":"integer","isRequired":true,"uniqueKey":"oneOf.0.result.block_height","typeLabel":"integer\u003cuint64>"},"values":{"items":{"description":"Item of the state, key and value are serialized in base64 and proof for inclusion of given state item.","properties":{"key":{"description":"This type is used to mark keys (arrays of bytes) that are queried from store.\n\nNOTE: Currently, this type is only used in the view_client and RPC to be able to transparently\npretty-serialize the bytes arrays as base64-encoded strings (see `serialize.rs`).","format":"bytes","type":"string","isRequired":true,"uniqueKey":"oneOf.0.result.values.items.[INDEX].key","typeLabel":"string\u003cbytes>"},"value":{"description":"This type is used to mark values returned from store (arrays of bytes).\n\nNOTE: Currently, this type is only used in the view_client and RPC to be able to transparently\npretty-serialize the bytes arrays as base64-encoded strings (see `serialize.rs`).","format":"bytes","type":"string","isRequired":true,"uniqueKey":"oneOf.0.result.values.items.[INDEX].value","typeLabel":"string\u003cbytes>"}},"required":["key","value"],"type":"object","uniqueKey":"oneOf.0.result.values.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"oneOf.0.result.values","typeLabel":"object[]"},"last_key":{"oneOf":[{"type":"string","description":"Cursor to resume from: present when more entries remain, absent when the listing is complete.","format":"bytes","uniqueKey":"oneOf.0.result.last_key.oneOf.0","typeLabel":"string\u003cbytes>"},{"description":"Cursor to resume from: present when more entries remain, absent when the listing is complete.","enum":[null],"uniqueKey":"oneOf.0.result.last_key.oneOf.1","typeLabel":"any"},{"type":"null","description":"Cursor to resume from: present when more entries remain, absent when the listing is complete.","enum":[null],"uniqueKey":"oneOf.0.result.last_key.oneOf.2","typeLabel":"null"}],"uniqueKey":"oneOf.0.result.last_key","typeLabel":"string\u003cbytes> | any | null"},"proof":{"items":{"type":"string","uniqueKey":"oneOf.0.result.proof.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"oneOf.0.result.proof","typeLabel":"string[]"}},"required":["values","block_height","block_hash"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.result","typeLabel":"object"},"id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.id","typeLabel":"string"},"jsonrpc":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.jsonrpc","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"JsonRpcResponse_for_RpcViewStateResponse_and_RpcViewStateError · object"},{"type":"object","title":"JsonRpcResponse_for_RpcViewStateResponse_and_RpcViewStateError","required":["jsonrpc","id","error"],"properties":{"error":{"oneOf":[{"type":"object","required":["name","cause"],"properties":{"cause":{"oneOf":[{"type":"object","required":["name","info"],"properties":{"info":{"properties":{"method_name":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.0.cause.oneOf.0.info.method_name","typeLabel":"string"}},"required":["method_name"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.0.cause.oneOf.0.info","typeLabel":"object"},"name":{"enum":["METHOD_NOT_FOUND"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.0.cause.oneOf.0.name","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.0.cause.oneOf.0","typeLabel":"object"},{"type":"object","required":["name","info"],"properties":{"info":{"properties":{"error_message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.0.cause.oneOf.1.info.error_message","typeLabel":"string"}},"required":["error_message"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.0.cause.oneOf.1.info","typeLabel":"object"},"name":{"enum":["PARSE_ERROR"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.0.cause.oneOf.1.name","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.0.cause.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.0.cause","typeLabel":"object"},"name":{"enum":["REQUEST_VALIDATION_ERROR"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.0.name","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.0","typeLabel":"object"},{"type":"object","required":["name","cause"],"properties":{"cause":{"oneOf":[{"type":"object","required":["name","info"],"properties":{"info":{"properties":{"block_reference":{"oneOf":[{"type":"object","required":["block_id"],"properties":{"block_id":{"oneOf":[{"type":"integer","title":"block_height","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.0.info.block_reference.oneOf.0.block_id.oneOf.0","typeLabel":"integer\u003cuint64>"},{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.0.info.block_reference.oneOf.0.block_id.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.0.info.block_reference.oneOf.0.block_id","typeLabel":"integer\u003cuint64> | string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.0.info.block_reference.oneOf.0","typeLabel":"object"},{"type":"object","required":["finality"],"properties":{"finality":{"description":"Different types of finality.","enum":["optimistic","near-final","final"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.0.info.block_reference.oneOf.1.finality","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.0.info.block_reference.oneOf.1","typeLabel":"object"},{"type":"object","required":["sync_checkpoint"],"properties":{"sync_checkpoint":{"enum":["genesis","earliest_available"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.0.info.block_reference.oneOf.2.sync_checkpoint","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.0.info.block_reference.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.0.info.block_reference","typeLabel":"object"}},"required":["block_reference"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.0.info","typeLabel":"object"},"name":{"enum":["UNKNOWN_BLOCK"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.0.name","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.0","typeLabel":"object"},{"type":"object","required":["name","info"],"properties":{"info":{"properties":{"block_hash":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.1.info.block_hash","typeLabel":"string"},"block_height":{"format":"uint64","minimum":0,"type":"integer","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.1.info.block_height","typeLabel":"integer\u003cuint64>"},"requested_account_id":{"description":"NEAR Account Identifier.\n\nThis is a unique, syntactically valid, human-readable account identifier on the NEAR network.\n\n[See the crate-level docs for information about validation.](index.html#account-id-rules)\n\nAlso see [Error kind precedence](AccountId#error-kind-precedence).\n\n## Examples\n\n```\nuse near_account_id::AccountId;\n\nlet alice: AccountId = \"alice.near\".parse().unwrap();\n\nassert!(\"ƒelicia.near\".parse::\u003cAccountId>().is_err()); // (ƒ is not f)\n```","title":"AccountId","type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.1.info.requested_account_id","typeLabel":"string"}},"required":["requested_account_id","block_height","block_hash"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.1.info","typeLabel":"object"},"name":{"enum":["INVALID_ACCOUNT"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.1.name","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.1","typeLabel":"object"},{"type":"object","required":["name","info"],"properties":{"info":{"properties":{"block_hash":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.2.info.block_hash","typeLabel":"string"},"block_height":{"format":"uint64","minimum":0,"type":"integer","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.2.info.block_height","typeLabel":"integer\u003cuint64>"},"requested_account_id":{"description":"NEAR Account Identifier.\n\nThis is a unique, syntactically valid, human-readable account identifier on the NEAR network.\n\n[See the crate-level docs for information about validation.](index.html#account-id-rules)\n\nAlso see [Error kind precedence](AccountId#error-kind-precedence).\n\n## Examples\n\n```\nuse near_account_id::AccountId;\n\nlet alice: AccountId = \"alice.near\".parse().unwrap();\n\nassert!(\"ƒelicia.near\".parse::\u003cAccountId>().is_err()); // (ƒ is not f)\n```","title":"AccountId","type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.2.info.requested_account_id","typeLabel":"string"}},"required":["requested_account_id","block_height","block_hash"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.2.info","typeLabel":"object"},"name":{"enum":["UNKNOWN_ACCOUNT"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.2.name","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.2","typeLabel":"object"},{"type":"object","required":["name","info"],"properties":{"info":{"properties":{"block_hash":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.3.info.block_hash","typeLabel":"string"},"block_height":{"format":"uint64","minimum":0,"type":"integer","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.3.info.block_height","typeLabel":"integer\u003cuint64>"},"contract_account_id":{"description":"NEAR Account Identifier.\n\nThis is a unique, syntactically valid, human-readable account identifier on the NEAR network.\n\n[See the crate-level docs for information about validation.](index.html#account-id-rules)\n\nAlso see [Error kind precedence](AccountId#error-kind-precedence).\n\n## Examples\n\n```\nuse near_account_id::AccountId;\n\nlet alice: AccountId = \"alice.near\".parse().unwrap();\n\nassert!(\"ƒelicia.near\".parse::\u003cAccountId>().is_err()); // (ƒ is not f)\n```","title":"AccountId","type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.3.info.contract_account_id","typeLabel":"string"}},"required":["contract_account_id","block_height","block_hash"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.3.info","typeLabel":"object"},"name":{"enum":["TOO_LARGE_CONTRACT_STATE"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.3.name","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.3","typeLabel":"object"},{"type":"object","required":["name","info"],"properties":{"info":{"properties":{"error_message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.4.info.error_message","typeLabel":"string"}},"required":["error_message"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.4.info","typeLabel":"object"},"name":{"enum":["INTERNAL_ERROR"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.4.name","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause.oneOf.4","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.cause","typeLabel":"object"},"name":{"enum":["HANDLER_ERROR"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1.name","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1","typeLabel":"object"},{"type":"object","required":["name","cause"],"properties":{"cause":{"type":"object","required":["name","info"],"properties":{"info":{"properties":{"error_message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.2.cause.info.error_message","typeLabel":"string"}},"required":["error_message"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.2.cause.info","typeLabel":"object"},"name":{"enum":["INTERNAL_ERROR"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.2.cause.name","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.2.cause","typeLabel":"object"},"name":{"enum":["INTERNAL_ERROR"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.2.name","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"},"id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.id","typeLabel":"string"},"jsonrpc":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.jsonrpc","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"JsonRpcResponse_for_RpcViewStateResponse_and_RpcViewStateError · object"}],"uniqueKey":"","typeLabel":"JsonRpcResponse_for_RpcViewStateResponse_and_RpcViewStateError · object"},"examples":{"Example":{"title":"Example","value":{"result":{"block_hash":"\u003cstring>","block_height":1,"values":[{"key":"\u003cstring>","value":"\u003cstring>"}],"last_key":"\u003cstring>","proof":["\u003cstring>"]},"id":"\u003cstring>","jsonrpc":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{}},"originalFileLocation":"openapi.json"},"subdomain":"neardocs","siteName":"NEAR Docs","title":"Post experimental view state - NEAR Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T22:55:27.088Z","originalFileLocation":"api-reference/post-experimental_view_state.mdx"},"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 state (key-value pairs) of a contract based on the key prefix.\">\u003cmeta data-mint-head name=\"application-name\" content=\"NEAR 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/neardocs/jx3X3HW4FX2vbKtn/_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/neardocs/jx3X3HW4FX2vbKtn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/neardocs/jx3X3HW4FX2vbKtn/_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/neardocs/jx3X3HW4FX2vbKtn/_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/neardocs/jx3X3HW4FX2vbKtn/_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/neardocs/jx3X3HW4FX2vbKtn/_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/neardocs/jx3X3HW4FX2vbKtn/_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/neardocs/jx3X3HW4FX2vbKtn/_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/neardocs/jx3X3HW4FX2vbKtn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Post experimental view state - NEAR Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the state (key-value pairs) of a contract based on the key prefix.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NEAR Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.near.org/api-reference/post-experimental_view_state\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://neardocs.mintlify.app/_mintlify/api/og/v2?division=Smart+Contracts\u0026amp;title=Post+experimental+view+state\u0026amp;description=Returns+the+state+%28key-value+pairs%29+of+a+contract+based+on+the+key+prefix.\u0026amp;theme=df941d03d19b89657352cf9a\u0026amp;signature=a700b8f47e293e47162cb4be8e6c6a30634ec2f1ec34488cc7695ffdf2589b9c\">\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=\"Post experimental view state - NEAR Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the state (key-value pairs) of a contract based on the key prefix.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://neardocs.mintlify.app/_mintlify/api/og/v2?division=Smart+Contracts\u0026amp;title=Post+experimental+view+state\u0026amp;description=Returns+the+state+%28key-value+pairs%29+of+a+contract+based+on+the+key+prefix.\u0026amp;theme=df941d03d19b89657352cf9a\u0026amp;signature=a700b8f47e293e47162cb4be8e6c6a30634ec2f1ec34488cc7695ffdf2589b9c\">\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/neardocs/jx3X3HW4FX2vbKtn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NEAR Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1fb858\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"x36GvqeIYFjDAl2NNFM-83XykcMYMLRY6f9lgUZbDpA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.near.org/api-reference/post-experimental_view_state\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/post-experimental_view_state.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.near.org/#organization\",\"name\":\"NEAR Docs\",\"url\":\"https://docs.near.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/neardocs/qO2GD-gji1aakHqN/assets/logo.svg?fit=max\u0026auto=format\u0026n=qO2GD-gji1aakHqN\u0026q=85\u0026s=fe9551b1c3085e39a97965b2886dad4a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.near.org#website\",\"name\":\"NEAR Docs\",\"url\":\"https://docs.near.org\",\"publisher\":{\"@id\":\"https://docs.near.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.near.org/api-reference/post-experimental_view_state#webpage\",\"url\":\"https://docs.near.org/api-reference/post-experimental_view_state\",\"name\":\"Post experimental view state\",\"description\":\"Returns the state (key-value pairs) of a contract based on the key prefix.\",\"dateModified\":\"2026-10-28T22:55:27.088Z\",\"isPartOf\":{\"@id\":\"https://docs.near.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.near.org/api-reference/post-experimental_view_state#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.near.org/api-reference/post-experimental_view_state#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Smart Contracts\",\"item\":\"https://docs.near.org/api-reference/post-experimental_view_code\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Post experimental view state\",\"item\":\"https://docs.near.org/api-reference/post-experimental_view_state\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.near.org/api-reference/post-experimental_view_state#apireference\",\"headline\":\"Post experimental view state\",\"name\":\"Post experimental view state\",\"description\":\"Returns the state (key-value pairs) of a contract based on the key prefix.\",\"url\":\"https://docs.near.org/api-reference/post-experimental_view_state\",\"mainEntityOfPage\":{\"@id\":\"https://docs.near.org/api-reference/post-experimental_view_state#webpage\"},\"dateModified\":\"2026-10-28T22:55:27.088Z\",\"publisher\":{\"@id\":\"https://docs.near.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.near.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NEAR Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"NEAR Docs","nav":{"global":null,"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":""}]},{"tab":"Protocol","icon":"layers","pages":[{"title":"Protocol","href":"/protocol/network/architecture"}]},{"tab":"Smart Contracts","icon":"file-badge","pages":[{"title":"Smart Contracts","href":"/smart-contracts/what-is"}]},{"tab":"Web3 Apps","icon":"terminal","pages":[{"title":"Web3 Apps","href":"/web3-apps/what-is"}]},{"tab":"Multi-Chain","icon":"link-2","pages":[{"title":"Multi-Chain","href":"/chain-abstraction/what-is"}]},{"tab":"Tokens \u0026 Primitives","icon":"coins","pages":[{"title":"Tokens \u0026 Primitives","href":"/primitives/what-is"}]},{"tab":"Data Infra","icon":"database","pages":[{"title":"Data Infra","href":"/data-infrastructure/what-is"}]},{"tab":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/integrations/exchange-integration"}]},{"tab":"RPC","icon":"server","groups":[{"group":" ","pages":[{"title":"Protocol Call Reference","icon":"file-text","sidebarTitle":"Introduction","href":"/api/rpc/introduction"},{"title":"RPC Providers","icon":"file-text","href":"/api/rpc/providers"},{"title":"Transactions","icon":"file-text","sidebarTitle":"Transactions","href":"/api/rpc/transactions"},{"title":"Block / Chunk","icon":"file-text","href":"/api/rpc/block-chunk"},{"title":"Gas","icon":"file-text","href":"/api/rpc/gas"},{"title":"Protocol","icon":"file-text","href":"/api/rpc/protocol"},{"title":"Accounts / Contracts","icon":"file-text","href":"/api/rpc/contracts"}]},{"group":"Query","pages":[{"title":"Post query","deprecated":null,"version":null,"openapi":"/openapi.json post /query","href":"/api-reference/post-query"}]},{"group":"Transactions","pages":[{"title":"Post send tx","deprecated":null,"version":null,"openapi":"/openapi.json post /send_tx","href":"/api-reference/post-send_tx"},{"title":"Post tx","deprecated":null,"version":null,"openapi":"/openapi.json post /tx","href":"/api-reference/post-tx"},{"title":"Post tx status","deprecated":null,"version":null,"openapi":"/openapi.json post /tx_status","href":"/api-reference/post-tx_status"},{"title":"Post experimental tx status","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_tx_status","href":"/api-reference/post-experimental_tx_status"},{"title":"Post experimental receipt","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_receipt","href":"/api-reference/post-experimental_receipt"},{"title":"Post experimental receipt to tx","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_receipt_to_tx","href":"/api-reference/post-experimental_receipt_to_tx"},{"title":"Post broadcast tx async","deprecated":null,"version":null,"openapi":"/openapi.json post /broadcast_tx_async","href":"/api-reference/post-broadcast_tx_async"},{"title":"Post broadcast tx commit","deprecated":null,"version":null,"openapi":"/openapi.json post /broadcast_tx_commit","href":"/api-reference/post-broadcast_tx_commit"}]},{"group":"Accounts","pages":[{"title":"Post experimental view account","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_view_account","href":"/api-reference/post-experimental_view_account"},{"title":"Post changes","deprecated":null,"version":null,"openapi":"/openapi.json post /changes","href":"/api-reference/post-changes"},{"title":"Post experimental changes","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_changes","href":"/api-reference/post-experimental_changes"}]},{"group":"Access Keys","pages":[{"title":"Post experimental view access key list","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_view_access_key_list","href":"/api-reference/post-experimental_view_access_key_list"},{"title":"Post experimental view access key","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_view_access_key","href":"/api-reference/post-experimental_view_access_key"}]},{"group":"Smart Contracts","pages":[{"title":"Post experimental view code","description":"Returns the contract code (Wasm binary) deployed to the account.","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_view_code","href":"/api-reference/post-experimental_view_code"},{"title":"Post experimental view state","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_view_state","href":"/api-reference/post-experimental_view_state"},{"title":"Post experimental call function","description":"Calls a view function on a contract and returns the result.","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_call_function","href":"/api-reference/post-experimental_call_function"}]},{"group":"Gas Price","pages":[{"title":"Post gas price","deprecated":null,"version":null,"openapi":"/openapi.json post /gas_price","href":"/api-reference/post-gas_price"}]},{"group":"Blocks \u0026 Chunks","pages":[{"title":"Post block","deprecated":null,"version":null,"openapi":"/openapi.json post /block","href":"/api-reference/post-block"},{"title":"Post chunk","deprecated":null,"version":null,"openapi":"/openapi.json post /chunk","href":"/api-reference/post-chunk"},{"title":"Post block effects","deprecated":null,"version":null,"openapi":"/openapi.json post /block_effects","href":"/api-reference/post-block_effects"},{"title":"Post experimental changes in block","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_changes_in_block","href":"/api-reference/post-experimental_changes_in_block"}]},{"group":"Network","pages":[{"title":"Post status","deprecated":null,"version":null,"openapi":"/openapi.json post /status","href":"/api-reference/post-status"},{"title":"Post health","deprecated":null,"version":null,"openapi":"/openapi.json post /health","href":"/api-reference/post-health"},{"title":"Post network info","deprecated":null,"version":null,"openapi":"/openapi.json post /network_info","href":"/api-reference/post-network_info"},{"title":"Post validators","deprecated":null,"version":null,"openapi":"/openapi.json post /validators","href":"/api-reference/post-validators"},{"title":"Post client config","deprecated":null,"version":null,"openapi":"/openapi.json post /client_config","href":"/api-reference/post-client_config"},{"title":"Post experimental validators ordered","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_validators_ordered","href":"/api-reference/post-experimental_validators_ordered"}]},{"group":"Gas \u0026 Config","pages":[{"title":"Post experimental protocol config","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_protocol_config","href":"/api-reference/post-experimental_protocol_config"},{"title":"Post genesis config","deprecated":null,"version":null,"openapi":"/openapi.json post /genesis_config","href":"/api-reference/post-genesis_config"},{"title":"Post experimental genesis config","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_genesis_config","href":"/api-reference/post-experimental_genesis_config"},{"title":"Post experimental congestion level","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_congestion_level","href":"/api-reference/post-experimental_congestion_level"}]},{"group":"Light Client","pages":[{"title":"Post light client proof","deprecated":null,"version":null,"openapi":"/openapi.json post /light_client_proof","href":"/api-reference/post-light_client_proof"},{"title":"Post next light client block","deprecated":null,"version":null,"openapi":"/openapi.json post /next_light_client_block","href":"/api-reference/post-next_light_client_block"},{"title":"Post experimental light client proof","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_light_client_proof","href":"/api-reference/post-experimental_light_client_proof"},{"title":"Post experimental light client block proof","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_light_client_block_proof","href":"/api-reference/post-experimental_light_client_block_proof"}]},{"group":"Maintenance \u0026 Storage","pages":[{"title":"Post maintenance windows","deprecated":null,"version":null,"openapi":"/openapi.json post /maintenance_windows","href":"/api-reference/post-maintenance_windows"},{"title":"Post experimental maintenance windows","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_maintenance_windows","href":"/api-reference/post-experimental_maintenance_windows"},{"title":"Post experimental split storage info","deprecated":null,"version":null,"openapi":"/openapi.json post /EXPERIMENTAL_split_storage_info","href":"/api-reference/post-experimental_split_storage_info"}]}]}]},"basePath":"","title":"Post experimental view state - NEAR Docs","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}