Says who the bearer token signed in as, the subscription it acts under as the chain has it now, and how many rounds the current term has used. The token is resolved exactly as on POST /v1/round/execute: an unknown, expired or revoked token is 401 and costs no chain read.
subscription is read from chain for this request, once (the same read a round makes, through the same short cache). subscription.active says the signed-in key may run rounds under it now: the term has not ended and, for a delegate, its delegate account exists. An inactive, absent or lapsed subscription is still 200, with active: false and usage: null; its fields are zero when the subscription or delegate account does not exist.
usage is the gateway’s own count for the current term, the 30-day step counted back from validUntil that ends at usage.termEndsAt; the counters reset when the next term begins. used is every key’s rounds under the subscription, usedByYou the signed-in key’s own. The plan allows subscription.maxRounds per term owner-wide, and a delegate at most delegate.maxRounds of its own (delegate is null for an owner). The count includes rounds reserved and not yet served.
Says who the bearer token signed in as, the subscription it acts under as the chain has it now, and how many rounds the current term has used. An unknown, expired or revoked token is 401 and costs no chain read.
role is owner or delegate.
subscription.active says the signed-in key may run rounds now: the term has not ended and, for a delegate, its delegate account exists. An inactive or missing subscription is still 200, with active: false and usage: null.
usage.used counts every key’s rounds under the subscription this term, and usage.usedByYou the signed-in key’s own. The count includes rounds reserved and not yet served. The counters reset at usage.termEndsAt.
subscription.maxRounds is the owner-wide quota per term. delegate.maxRounds is a delegate’s own cap, the smaller of the plan’s quota and the delegate’s max_data_requests; delegate is null for an owner.
Served only when GET /v1/info reports sessionAuth: true; otherwise this route returns 404.
Authorizations
Authorization
string
header
required
Session token from POST /v1/session, sent as Authorization: Bearer <token>. Required for GET /v1/session and DELETE /v1/session. On POST /v1/round/execute it is optional and replaces RequestAuth (authSig and authTimestamp in the body); sending both is 400.
Response
OK
data
object
Hide child attributes
data.authority
string
Authority is the key that signed in; Owner the subscription it acts under.
Example:
"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
data.delegate
object | null
Delegate is the delegate's own cap; null for an owner, and for a delegate whose delegate account no longer exists.
Hide child attributes
data.delegate.maxRounds
integer
MaxRounds is the per-term cap on this delegate's own rounds: the smaller of the plan's maxRounds and the delegate's limit.
Example:
5000
data.expiresAt
integer
ExpiresAt is when the session ends.
Example:
1791376200
data.owner
string
Example:
"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
data.role
string
Role is "owner" or "delegate".
Example:
"owner"
data.sessionId
string
Example:
"9f2c4e6a8b0d1f3a5c7e9b1d3f5a7c9e"
data.subscription
object
Hide child attributes
data.subscription.active
boolean
Active says the signed-in key may run rounds under the subscription now.
Example:
true
data.subscription.maxRounds
integer
MaxRounds is the plan's per-term round quota, owner-wide.
Example:
100000
data.subscription.maxSigners
integer
Example:
5
data.subscription.validUntil
integer
Example:
1793966400
data.usage
object | null
Usage is the current term's quota use; null when the subscription is not active.
Hide child attributes
data.usage.termEndsAt
integer
TermEndsAt is when the current term ends and the counters reset.
Example:
1791892800
data.usage.used
integer
Used counts rounds charged to the subscription this term, by every key.
Example:
1234
data.usage.usedByYou
integer
UsedByYou counts the signed-in key's own rounds this term.
Example:
321
status
string
Example:
"ok"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Molpha","description":"Any API. One threshold signature. Every chain. Threshold-signed data for smart contracts, backends and AI agents, verifiable on Solana, EVM and Starknet.","colors":{"primary":"#9a641f","light":"#cb852a","dark":"#8f5c1c"},"logo":{"light":"https://mintcdn.com/molpha/JodtmQOniERYvMcY/logo/logo.svg?fit=max\u0026auto=format\u0026n=JodtmQOniERYvMcY\u0026q=85\u0026s=0602b5fe95eb3b1557d5dc52b1cd31e7","dark":"https://mintcdn.com/molpha/JodtmQOniERYvMcY/logo/logo.svg?fit=max\u0026auto=format\u0026n=JodtmQOniERYvMcY\u0026q=85\u0026s=0602b5fe95eb3b1557d5dc52b1cd31e7","href":"https://molpha.io"},"favicon":"https://mintcdn.com/molpha/JodtmQOniERYvMcY/logo/favicon.svg?fit=max\u0026auto=format\u0026n=JodtmQOniERYvMcY\u0026q=85\u0026s=fdd89da20736ef39a7efc3cc50d39125","api":{"openapi":"gateway-openapi.yaml","params":{"expanded":"all"},"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","javascript","python","go"],"prefill":true,"autogenerate":true}},"navbar":{"links":[{"href":"mailto:contact@molpha.io","label":"Support"},{"icon":"github","href":"https://github.com/molpha","label":"GitHub"},{"icon":"discord","href":"https://discord.molpha.io","label":"Discord"}],"primary":{"type":"button","label":"npm","href":"https://www.npmjs.com/package/@molpha/sdk"}},"footer":{"socials":{"x":"https://x.com/molpha_oracle","discord":"https://discord.molpha.io","github":"https://github.com/molpha","linkedin":"https://www.linkedin.com/company/molpha-oracle"}},"seo":{"metatags":{"og:site_name":"Molpha Docs","twitter:card":"summary_large_image","twitter:site":"@molpha_oracle","canonical":"https://docs.molpha.io"},"organization":{"id":"https://molpha.io/#organization","name":"Molpha","url":"https://molpha.io","logo":"https://docs.molpha.io/logo/logo.svg","sameAs":["https://x.com/molpha_oracle","https://discord.molpha.io","https://github.com/molpha","https://www.linkedin.com/company/molpha-oracle"]},"indexing":"navigable"},"contextual":{"options":["copy","download-spec","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"molpha","hasAudioNarration":false,"actualSubdomain":"molpha","customDomains":["docs.molpha.io"],"gitSource":{"type":"github","owner":"molpha","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"issues":false,"agentFeedback":true},"entitlements":{},"buildId":"6b0df3fd33512c49bf76bac9","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API reference","count":77},{"language":"default","tag":"Data templates","count":54},{"language":"default","tag":"Documentation","count":35},{"language":"default","tag":"Reference data","count":11},{"language":"default","tag":"Lending","count":11},{"language":"default","tag":"DEX","count":7},{"language":"default","tag":"Verify and publish","count":7},{"language":"default","tag":"Concepts","count":6},{"language":"default","tag":"Molpha Data API","count":6},{"language":"default","tag":"Perps","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"rbac-expansion","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":"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":"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":"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":"full-page-search","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":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"gateways/api/session-status","slug":"/gateways/api/session-status","pageMetadata":{"title":"Session status","sidebarTitle":"Session status","openapi":"gateway-openapi.yaml GET /v1/session","description":"Says who the bearer token signed in as, the subscription it acts under as the chain has it now, and how many rounds the current term has used. The token is resolved exactly as on `POST /v1/round/execute`: an unknown, expired or revoked token is `401` and costs no chain read.\n\n`subscription` is read from chain for this request, once (the same read a round makes, through the same short cache). `subscription.active` says the signed-in key may run rounds under it now: the term has not ended and, for a delegate, its delegate account exists. An inactive, absent or lapsed subscription is still `200`, with `active: false` and `usage: null`; its fields are zero when the subscription or delegate account does not exist.\n\n`usage` is the gateway's own count for the current term, the 30-day step counted back from `validUntil` that ends at `usage.termEndsAt`; the counters reset when the next term begins. `used` is every key's rounds under the subscription, `usedByYou` the signed-in key's own. The plan allows `subscription.maxRounds` per term owner-wide, and a delegate at most `delegate.maxRounds` of its own (`delegate` is `null` for an owner). The count includes rounds reserved and not yet served.","href":"/gateways/api/session-status"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Says who the bearer token signed in as, the subscription it acts under as the chain has it now, and how many rounds the current term has used. The token is resolved exactly as on \", _jsx(_components.code, {\n children: \"POST /v1/round/execute\"\n }), \": an unknown, expired or revoked token is \", _jsx(_components.code, {\n children: \"401\"\n }), \" and costs no chain read.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"subscription\"\n }), \" is read from chain for this request, once (the same read a round makes, through the same short cache). \", _jsx(_components.code, {\n children: \"subscription.active\"\n }), \" says the signed-in key may run rounds under it now: the term has not ended and, for a delegate, its delegate account exists. An inactive, absent or lapsed subscription is still \", _jsx(_components.code, {\n children: \"200\"\n }), \", with \", _jsx(_components.code, {\n children: \"active: false\"\n }), \" and \", _jsx(_components.code, {\n children: \"usage: null\"\n }), \"; its fields are zero when the subscription or delegate account does not exist.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"usage\"\n }), \" is the gateway’s own count for the current term, the 30-day step counted back from \", _jsx(_components.code, {\n children: \"validUntil\"\n }), \" that ends at \", _jsx(_components.code, {\n children: \"usage.termEndsAt\"\n }), \"; the counters reset when the next term begins. \", _jsx(_components.code, {\n children: \"used\"\n }), \" is every key’s rounds under the subscription, \", _jsx(_components.code, {\n children: \"usedByYou\"\n }), \" the signed-in key’s own. The plan allows \", _jsx(_components.code, {\n children: \"subscription.maxRounds\"\n }), \" per term owner-wide, and a delegate at most \", _jsx(_components.code, {\n children: \"delegate.maxRounds\"\n }), \" of its own (\", _jsx(_components.code, {\n children: \"delegate\"\n }), \" is \", _jsx(_components.code, {\n children: \"null\"\n }), \" for an owner). The count includes rounds reserved and not yet served.\"]\n })]\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Says who the bearer token signed in as, the subscription it acts under as the chain has it now, and how many rounds the current term has used. An unknown, expired or revoked token is `,_jsx(_components.code,{children:`401`}),` and costs no chain read.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),` is `,_jsx(_components.code,{children:`owner`}),` or `,_jsx(_components.code,{children:`delegate`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`subscription.active`}),` says the signed-in key may run rounds now: the term has not ended and, for a delegate, its delegate account exists. An inactive or missing subscription is still `,_jsx(_components.code,{children:`200`}),`, with `,_jsx(_components.code,{children:`active: false`}),` and `,_jsx(_components.code,{children:`usage: null`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`usage.used`}),` counts every key’s rounds under the subscription this term, and `,_jsx(_components.code,{children:`usage.usedByYou`}),` the signed-in key’s own. The count includes rounds reserved and not yet served. The counters reset at `,_jsx(_components.code,{children:`usage.termEndsAt`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`subscription.maxRounds`}),` is the owner-wide quota per term. `,_jsx(_components.code,{children:`delegate.maxRounds`}),` is a delegate’s own cap, the smaller of the plan’s quota and the delegate’s `,_jsx(_components.code,{children:`max_data_requests`}),`; `,_jsx(_components.code,{children:`delegate`}),` is `,_jsx(_components.code,{children:`null`}),` for an owner.`]}),`\n`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Served only when `,_jsx(_components.a,{href:`/gateways/api/info`,children:_jsx(_components.code,{children:`GET /v1/info`})}),` reports `,_jsx(_components.code,{children:`sessionAuth: true`}),`; otherwise this route returns `,_jsx(_components.code,{children:`404`}),`.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Session status","sidebarTitle":"Session status","openapi":"gateway-openapi.yaml GET /v1/session","description":"Says who the bearer token signed in as, the subscription it acts under as the chain has it now, and how many rounds the current term has used. The token is resolved exactly as on `POST /v1/round/execute`: an unknown, expired or revoked token is `401` and costs no chain read.\n\n`subscription` is read from chain for this request, once (the same read a round makes, through the same short cache). `subscription.active` says the signed-in key may run rounds under it now: the term has not ended and, for a delegate, its delegate account exists. An inactive, absent or lapsed subscription is still `200`, with `active: false` and `usage: null`; its fields are zero when the subscription or delegate account does not exist.\n\n`usage` is the gateway's own count for the current term, the 30-day step counted back from `validUntil` that ends at `usage.termEndsAt`; the counters reset when the next term begins. `used` is every key's rounds under the subscription, `usedByYou` the signed-in key's own. The plan allows `subscription.maxRounds` per term owner-wide, and a delegate at most `delegate.maxRounds` of its own (`delegate` is `null` for an owner). The count includes rounds reserved and not yet served.","href":"/gateways/api/session-status"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Says who the bearer token signed in as, the subscription it acts under as the chain has it now, and how many rounds the current term has used. The token is resolved exactly as on `POST /v1/round/execute`: an unknown, expired or revoked token is `401` and costs no chain read.\n\n`subscription` is read from chain for this request, once (the same read a round makes, through the same short cache). `subscription.active` says the signed-in key may run rounds under it now: the term has not ended and, for a delegate, its delegate account exists. An inactive, absent or lapsed subscription is still `200`, with `active: false` and `usage: null`; its fields are zero when the subscription or delegate account does not exist.\n\n`usage` is the gateway's own count for the current term, the 30-day step counted back from `validUntil` that ends at `usage.termEndsAt`; the counters reset when the next term begins. `used` is every key's rounds under the subscription, `usedByYou` the signed-in key's own. The plan allows `subscription.maxRounds` per term owner-wide, and a delegate at most `delegate.maxRounds` of its own (`delegate` is `null` for an owner). The count includes rounds reserved and not yet served.","responses":{"200":"0f32e8b0-d01e-478c-ab63-5c02b83acb43","401":"b5242f10-c207-4248-8469-81e03f203359","503":"a4a5547a-94a3-4153-9d16-90526851dcce"},"security":["9f3ffcfa-a4e7-4500-bdba-06aaf0130694"],"summary":"Session status","tags":["session"],"method":"get","type":"path","servers":["f0ea9e29-9809-4bda-a3a0-1cc20a812cd0"],"path":"/v1/session","baseUrlOptions":["https://gateway.molpha.io"],"title":"Session status","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","go"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{},"responses":{"0f32e8b0-d01e-478c-ab63-5c02b83acb43":{"description":"OK","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"authority":{"description":"Authority is the key that signed in; Owner the subscription it acts under.","example":"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU","type":"string","uniqueKey":"data.authority","typeLabel":"string"},"delegate":{"oneOf":[{"type":"object","description":"Delegate is the delegate's own cap; null for an owner, and for a delegate whose delegate account no longer exists.","properties":{"maxRounds":{"description":"MaxRounds is the per-term cap on this delegate's own rounds: the smaller of the plan's maxRounds and the delegate's limit.","example":5000,"type":"integer","uniqueKey":"data.delegate.oneOf.0.maxRounds","typeLabel":"integer"}},"uniqueKey":"data.delegate.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.delegate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.delegate","typeLabel":"object | null"},"expiresAt":{"description":"ExpiresAt is when the session ends.","example":1791376200,"type":"integer","uniqueKey":"data.expiresAt","typeLabel":"integer"},"owner":{"example":"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU","type":"string","uniqueKey":"data.owner","typeLabel":"string"},"role":{"description":"Role is \"owner\" or \"delegate\".","example":"owner","type":"string","uniqueKey":"data.role","typeLabel":"string"},"sessionId":{"example":"9f2c4e6a8b0d1f3a5c7e9b1d3f5a7c9e","type":"string","uniqueKey":"data.sessionId","typeLabel":"string"},"subscription":{"properties":{"active":{"description":"Active says the signed-in key may run rounds under the subscription now.","example":true,"type":"boolean","uniqueKey":"data.subscription.active","typeLabel":"boolean"},"maxRounds":{"description":"MaxRounds is the plan's per-term round quota, owner-wide.","example":100000,"type":"integer","uniqueKey":"data.subscription.maxRounds","typeLabel":"integer"},"maxSigners":{"example":5,"type":"integer","uniqueKey":"data.subscription.maxSigners","typeLabel":"integer"},"validUntil":{"example":1793966400,"type":"integer","uniqueKey":"data.subscription.validUntil","typeLabel":"integer"}},"type":"object","uniqueKey":"data.subscription","typeLabel":"object"},"usage":{"oneOf":[{"type":"object","description":"Usage is the current term's quota use; null when the subscription is not active.","properties":{"termEndsAt":{"description":"TermEndsAt is when the current term ends and the counters reset.","example":1791892800,"type":"integer","uniqueKey":"data.usage.oneOf.0.termEndsAt","typeLabel":"integer"},"used":{"description":"Used counts rounds charged to the subscription this term, by every key.","example":1234,"type":"integer","uniqueKey":"data.usage.oneOf.0.used","typeLabel":"integer"},"usedByYou":{"description":"UsedByYou counts the signed-in key's own rounds this term.","example":321,"type":"integer","uniqueKey":"data.usage.oneOf.0.usedByYou","typeLabel":"integer"}},"uniqueKey":"data.usage.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.usage","typeLabel":"object | null"}},"type":"object","uniqueKey":"data","typeLabel":"object"},"status":{"example":"ok","type":"string","uniqueKey":"status","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"authority":"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU","delegate":{"maxRounds":5000},"expiresAt":1791376200,"owner":"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU","role":"owner","sessionId":"9f2c4e6a8b0d1f3a5c7e9b1d3f5a7c9e","subscription":{"active":true,"maxRounds":100000,"maxSigners":5,"validUntil":1793966400},"usage":{"termEndsAt":1791892800,"used":1234,"usedByYou":321}},"status":"ok"}}},"exampleType":"generated"}},"exampleType":"generated"},"b5242f10-c207-4248-8469-81e03f203359":{"description":"Missing bearer token, or the token is unknown, expired or revoked; sign in again","content":{"application/json":{"schema":{"properties":{"error":{"example":"validation failed","type":"string","uniqueKey":"error","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"validation failed"}}},"exampleType":"generated"}},"exampleType":"generated"},"a4a5547a-94a3-4153-9d16-90526851dcce":{"description":"Transient chain-read or storage failure; retry after the Retry-After header","content":{"application/json":{"schema":{"properties":{"error":{"example":"validation failed","type":"string","uniqueKey":"error","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"validation failed"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"9f3ffcfa-a4e7-4500-bdba-06aaf0130694":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Session token from `POST /v1/session`, sent as `Authorization: Bearer \u003ctoken>`. Required for `GET /v1/session` and `DELETE /v1/session`. On `POST /v1/round/execute` it is optional and replaces RequestAuth (`authSig` and `authTimestamp` in the body); sending both is `400`.","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"f0ea9e29-9809-4bda-a3a0-1cc20a812cd0":{"url":"https://gateway.molpha.io","description":"Devnet"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Session token from `POST /v1/session`, sent as `Authorization: Bearer \u003ctoken>`. Required for `GET /v1/session` and `DELETE /v1/session`. On `POST /v1/round/execute` it is optional and replaces RequestAuth (`authSig` and `authTimestamp` in the body); sending both is `400`.","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Session token from `POST /v1/session`, sent as `Authorization: Bearer \u003ctoken>`. Required for `GET /v1/session` and `DELETE /v1/session`. On `POST /v1/round/execute` it is optional and replaces RequestAuth (`authSig` and `authTimestamp` in the body); sending both is `400`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"gateway-openapi.yaml"},"subdomain":"molpha","siteName":"Molpha","title":"Session status - Molpha","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T22:09:09.605Z","originalFileLocation":"gateways/api/session-status.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=\"Says who the bearer token signed in as, the subscription it acts under as the chain has it now, and how many rounds the current term has used. The token is resolved exactly as on POST /v1/round/execute: an unknown, expired or revoked token is 401 and costs no chain read. subscription is read from chain for this request, once (the same read a round makes, through the same short cache). subscription.active says the signed-in key may run rounds under it now: the term has not ended and, for a delegate, its delegate account exists. An inactive, absent or lapsed subscription is still 200, with active: false and usage: null; its fields are zero when the subscription or delegate account does not exist. usage is the gateway\u0026#x27;s own count for the current term, the 30-day step counted back from validUntil that ends at usage.termEndsAt; the counters reset when the next term begins. used is every key\u0026#x27;s rounds under the subscription, usedByYou the signed-in key\u0026#x27;s own. The plan allows subscription.maxRounds per term owner-wide, and a delegate at most delegate.maxRounds of its own (delegate is null for an owner). The count includes rounds reserved and not yet served.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Molpha\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/molpha/zla0u27HDk3WRPXS/_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/molpha/zla0u27HDk3WRPXS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/molpha/zla0u27HDk3WRPXS/_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/molpha/zla0u27HDk3WRPXS/_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/molpha/zla0u27HDk3WRPXS/_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/molpha/zla0u27HDk3WRPXS/_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/molpha/zla0u27HDk3WRPXS/_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/molpha/zla0u27HDk3WRPXS/_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/molpha/zla0u27HDk3WRPXS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Session status - Molpha\">\u003cmeta data-mint-head property=\"og:description\" content=\"Says who the bearer token signed in as, the subscription it acts under as the chain has it now, and how many rounds the current term has used. The token is resolved exactly as on POST /v1/round/execute: an unknown, expired or revoked token is 401 and costs no chain read. subscription is read from chain for this request, once (the same read a round makes, through the same short cache). subscription.active says the signed-in key may run rounds under it now: the term has not ended and, for a delegate, its delegate account exists. An inactive, absent or lapsed subscription is still 200, with active: false and usage: null; its fields are zero when the subscription or delegate account does not exist. usage is the gateway\u0026#x27;s own count for the current term, the 30-day step counted back from validUntil that ends at usage.termEndsAt; the counters reset when the next term begins. used is every key\u0026#x27;s rounds under the subscription, usedByYou the signed-in key\u0026#x27;s own. The plan allows subscription.maxRounds per term owner-wide, and a delegate at most delegate.maxRounds of its own (delegate is null for an owner). The count includes rounds reserved and not yet served.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Molpha Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.molpha.io/gateways/api/session-status\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://molpha.mintlify.site/_mintlify/api/og/v2?division=Sign-in+sessions\u0026amp;title=Session+status\u0026amp;description=Says+who+the+bearer+token+signed+in+as%2C+the+subscription+it+acts+under+as+the+chain+has+it+now%2C+and+how+many+rounds+the+current+term+has+used.+The+token+is+reso\u0026amp;theme=31c325c332ddb0c6aed47a08\u0026amp;signature=ca767b4f7679315b119f65ba877f317ebbc87ea54f208b0100c398936310f47e\">\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=\"Session status - Molpha\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Says who the bearer token signed in as, the subscription it acts under as the chain has it now, and how many rounds the current term has used. The token is resolved exactly as on POST /v1/round/execute: an unknown, expired or revoked token is 401 and costs no chain read. subscription is read from chain for this request, once (the same read a round makes, through the same short cache). subscription.active says the signed-in key may run rounds under it now: the term has not ended and, for a delegate, its delegate account exists. An inactive, absent or lapsed subscription is still 200, with active: false and usage: null; its fields are zero when the subscription or delegate account does not exist. usage is the gateway\u0026#x27;s own count for the current term, the 30-day step counted back from validUntil that ends at usage.termEndsAt; the counters reset when the next term begins. used is every key\u0026#x27;s rounds under the subscription, usedByYou the signed-in key\u0026#x27;s own. The plan allows subscription.maxRounds per term owner-wide, and a delegate at most delegate.maxRounds of its own (delegate is null for an owner). The count includes rounds reserved and not yet served.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://molpha.mintlify.site/_mintlify/api/og/v2?division=Sign-in+sessions\u0026amp;title=Session+status\u0026amp;description=Says+who+the+bearer+token+signed+in+as%2C+the+subscription+it+acts+under+as+the+chain+has+it+now%2C+and+how+many+rounds+the+current+term+has+used.+The+token+is+reso\u0026amp;theme=31c325c332ddb0c6aed47a08\u0026amp;signature=ca767b4f7679315b119f65ba877f317ebbc87ea54f208b0100c398936310f47e\">\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/molpha/zla0u27HDk3WRPXS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Molpha\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9a641f\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.molpha.io/gateways/api/session-status\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/gateways/api/session-status.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://molpha.io/#organization\",\"name\":\"Molpha\",\"url\":\"https://molpha.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://docs.molpha.io/logo/logo.svg\"},\"sameAs\":[\"https://x.com/molpha_oracle\",\"https://discord.molpha.io\",\"https://github.com/molpha\",\"https://www.linkedin.com/company/molpha-oracle\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.molpha.io#website\",\"name\":\"Molpha\",\"url\":\"https://docs.molpha.io\",\"publisher\":{\"@id\":\"https://molpha.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.molpha.io/gateways/api/session-status#webpage\",\"url\":\"https://docs.molpha.io/gateways/api/session-status\",\"name\":\"Session status\",\"description\":\"Says who the bearer token signed in as, the subscription it acts under as the chain has it now, and how many rounds the current term has used. The token is resolved exactly as on POST /v1/round/execute: an unknown, expired or revoked token is 401 and costs no chain read. subscription is read from chain for this request, once (the same read a round makes, through the same short cache). subscription.active says the signed-in key may run rounds under it now: the term has not ended and, for a delegate, its delegate account exists. An inactive, absent or lapsed subscription is still 200, with active: false and usage: null; its fields are zero when the subscription or delegate account does not exist. usage is the gateway's own count for the current term, the 30-day step counted back from validUntil that ends at usage.termEndsAt; the counters reset when the next term begins. used is every key's rounds under the subscription, usedByYou the signed-in key's own. The plan allows subscription.maxRounds per term owner-wide, and a delegate at most delegate.maxRounds of its own (delegate is null for an owner). The count includes rounds reserved and not yet served.\",\"dateModified\":\"2026-11-30T22:09:09.605Z\",\"isPartOf\":{\"@id\":\"https://docs.molpha.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.molpha.io/gateways/api/session-status#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.molpha.io/gateways/api/session-status#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Sign-in sessions\",\"item\":\"https://docs.molpha.io/gateways/api/session-challenge\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Session status\",\"item\":\"https://docs.molpha.io/gateways/api/session-status\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.molpha.io/gateways/api/session-status#apireference\",\"headline\":\"Session status\",\"name\":\"Session status\",\"description\":\"Says who the bearer token signed in as, the subscription it acts under as the chain has it now, and how many rounds the current term has used. The token is resolved exactly as on POST /v1/round/execute: an unknown, expired or revoked token is 401 and costs no chain read. subscription is read from chain for this request, once (the same read a round makes, through the same short cache). subscription.active says the signed-in key may run rounds under it now: the term has not ended and, for a delegate, its delegate account exists. An inactive, absent or lapsed subscription is still 200, with active: false and usage: null; its fields are zero when the subscription or delegate account does not exist. usage is the gateway's own count for the current term, the 30-day step counted back from validUntil that ends at usage.termEndsAt; the counters reset when the next term begins. used is every key's rounds under the subscription, usedByYou the signed-in key's own. The plan allows subscription.maxRounds per term owner-wide, and a delegate at most delegate.maxRounds of its own (delegate is null for an owner). The count includes rounds reserved and not yet served.\",\"url\":\"https://docs.molpha.io/gateways/api/session-status\",\"mainEntityOfPage\":{\"@id\":\"https://docs.molpha.io/gateways/api/session-status#webpage\"},\"dateModified\":\"2026-11-30T22:09:09.605Z\",\"publisher\":{\"@id\":\"https://molpha.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.molpha.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Molpha\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Molpha\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/gateways/api/session-status.md","siteName":"Molpha","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","groups":[{"group":"Gateway API","pages":[{"title":"Gateway API","sidebarTitle":"Overview","href":"/gateways/overview"},{"title":"Round archive","href":"/gateways/archive"}]},{"group":"Rounds","pages":[{"title":"Execute a subscription round","sidebarTitle":"Round execute","openapi":"gateway-openapi.yaml POST /v1/round/execute","href":"/gateways/api/round-execute"},{"title":"Execute an x402 pay-per-request round","sidebarTitle":"x402 execute","openapi":"gateway-openapi.yaml POST /v1/x402/execute","href":"/gateways/api/x402-execute"},{"title":"x402 payment destination and quote","sidebarTitle":"x402 status","openapi":"gateway-openapi.yaml GET /v1/x402/status","href":"/gateways/api/x402-status"}]},{"group":"Sign-in sessions","pages":[{"title":"Get a sign-in challenge","sidebarTitle":"Session challenge","openapi":"gateway-openapi.yaml GET /v1/session/challenge","href":"/gateways/api/session-challenge"},{"title":"Sign in","sidebarTitle":"Session sign-in","openapi":"gateway-openapi.yaml POST /v1/session","description":"Exchanges a signed sign-in message for a session token. Send the x402 `sign-in-with-x` payload — the challenge's `info` fields plus `address`, `chainId`, `type` (`ed25519`), `signatureScheme` (`siws`) and the base58 `signature` over the message's UTF-8 bytes — base64-encoded in the `SIGN-IN-WITH-X` header.\n\nThe gateway checks the message against its own terms (domain, URI, statement, chain, resources, dates), verifies the signature, and only then reads the chain: `address` must be the subscription `owner` with an active subscription, or hold a delegate account under that owner. A message opens at most one session.\n\nThe token is opaque and returned once. Send it as `Authorization: Bearer \u003ctoken>` on `POST /v1/round/execute`, with no `authSig` or `authTimestamp`. It expires at `data.expiresAt`, and never later than the subscription term; sign in again for a new one. A session only identifies the caller: subscription and delegate access is re-read from chain for every round, so removing a delegate or letting the subscription lapse ends what its sessions can do.","href":"/gateways/api/session-create"},{"title":"Session status","sidebarTitle":"Session status","openapi":"gateway-openapi.yaml GET /v1/session","href":"/gateways/api/session-status"},{"title":"Sign out","sidebarTitle":"Session sign-out","openapi":"gateway-openapi.yaml DELETE /v1/session","description":"Ends the session the bearer token belongs to. Always answers `204`, whether or not the token named a live session, so the response says nothing about which tokens exist.","href":"/gateways/api/session-delete"}]},{"group":"Sources","pages":[{"title":"Preview a source","sidebarTitle":"Source preview","openapi":"gateway-openapi.yaml POST /v1/source/preview","href":"/gateways/api/source-preview"},{"title":"Simulate a source","sidebarTitle":"Source simulate","openapi":"gateway-openapi.yaml POST /v1/source/simulate","href":"/gateways/api/source-simulate"}]},{"group":"Network","pages":[{"title":"Get gateway identity","sidebarTitle":"Info","openapi":"gateway-openapi.yaml GET /v1/info","href":"/gateways/api/info"},{"title":"Get on-chain nodes","sidebarTitle":"Nodes","openapi":"gateway-openapi.yaml GET /v1/nodes","href":"/gateways/api/nodes"},{"title":"List integrated providers","sidebarTitle":"Providers","openapi":"gateway-openapi.yaml GET /v1/providers","href":"/gateways/api/providers-list"},{"title":"Get an integrated provider","sidebarTitle":"Provider","openapi":"gateway-openapi.yaml GET /v1/providers/{providerId}","href":"/gateways/api/providers-get"},{"title":"Build a provider source for a symbol","sidebarTitle":"Provider source","openapi":"gateway-openapi.yaml GET /v1/providers/{providerId}/source","href":"/gateways/api/providers-source"},{"title":"Health check","sidebarTitle":"Health","openapi":"gateway-openapi.yaml GET /health","href":"/gateways/api/health"}]},{"group":"Molpha Data API","pages":[{"title":"List the chains templates read","sidebarTitle":"Chains","openapi":"data-openapi.json GET /v1/data/chains","href":"/data/api/list-chains"},{"title":"List the templates","sidebarTitle":"Catalog","openapi":"data-openapi.json GET /v1/data/catalog","href":"/data/api/list-templates"},{"title":"Get a template","sidebarTitle":"Template","openapi":"data-openapi.json GET /v1/data/catalog/{templateId}","href":"/data/api/get-template"},{"title":"Derive a template's source","sidebarTitle":"Derive","openapi":"data-openapi.json POST /v1/data/derive","href":"/data/api/derive"},{"title":"Dry-run a template's source","sidebarTitle":"Dry-run","openapi":"data-openapi.json POST /v1/data/dry-run","href":"/data/api/dry-run"},{"title":"Template API document","sidebarTitle":"OpenAPI document","openapi":"data-openapi.json GET /v1/data/openapi.json","href":"/data/api/openapi"}]},{"group":"Data templates","pages":[{"group":"Token","pages":[{"title":"Bridged supply against its lockbox","sidebarTitle":"Bridged supply against its lockbox","openapi":"data-openapi.json GET /v1/data/supply/reconcile","href":"/data/api/supply-reconcile"},{"title":"Token control flags","sidebarTitle":"Token control flags","openapi":"data-openapi.json GET /v1/data/token/controls","href":"/data/api/token-controls"},{"title":"Token snapshot","sidebarTitle":"Token snapshot","openapi":"data-openapi.json GET /v1/data/token/snapshot","href":"/data/api/token-snapshot"},{"title":"Token total supply","sidebarTitle":"Token total supply","openapi":"data-openapi.json GET /v1/data/token/supply","href":"/data/api/token-supply"}]},{"group":"Wallet","pages":[{"title":"Account balance","sidebarTitle":"Account balance","openapi":"data-openapi.json GET /v1/data/account/balance","href":"/data/api/account-balance"}]},{"group":"DEX","pages":[{"title":"Curve EMA price oracle","sidebarTitle":"Curve EMA price oracle","openapi":"data-openapi.json GET /v1/data/curve/priceOracle","href":"/data/api/curve-price-oracle"},{"title":"Ekubo pool spot price","sidebarTitle":"Ekubo pool spot price","openapi":"data-openapi.json GET /v1/data/dex/ekubo/price","href":"/data/api/dex-ekubo-price"},{"title":"Pool spot price","sidebarTitle":"Pool spot price","openapi":"data-openapi.json GET /v1/data/dex/pool/price","href":"/data/api/dex-pool-price"},{"title":"Pool reserve","sidebarTitle":"Pool reserve","openapi":"data-openapi.json GET /v1/data/dex/pool/reserves","href":"/data/api/dex-pool-reserves"},{"title":"Pool state snapshot","sidebarTitle":"Pool state snapshot","openapi":"data-openapi.json GET /v1/data/dex/pool/snapshot","href":"/data/api/dex-pool-snapshot"},{"title":"Pool TWAP price","sidebarTitle":"Pool TWAP price","openapi":"data-openapi.json GET /v1/data/dex/pool/twap","href":"/data/api/dex-pool-twap"},{"title":"Median price across pools","sidebarTitle":"Median price across pools","openapi":"data-openapi.json GET /v1/data/price/median","href":"/data/api/price-median"}]},{"group":"Lending","pages":[{"title":"Aave v3 reserve rate or index","sidebarTitle":"Aave v3 reserve rate or index","openapi":"data-openapi.json GET /v1/data/lending/aave/reserve","href":"/data/api/lending-aave-reserve"},{"title":"Aave v3 reserve totals","sidebarTitle":"Aave v3 reserve totals","openapi":"data-openapi.json GET /v1/data/lending/aave/totals","href":"/data/api/lending-aave-totals"},{"title":"Aave v4 Hub asset totals and rates","sidebarTitle":"Aave v4 Hub asset totals and rates","openapi":"data-openapi.json GET /v1/data/lending/aave4/hub","href":"/data/api/lending-aave4-hub"},{"title":"Aave v4 Spoke reserve totals","sidebarTitle":"Aave v4 Spoke reserve totals","openapi":"data-openapi.json GET /v1/data/lending/aave4/spoke","href":"/data/api/lending-aave4-spoke"},{"title":"Compound v3 market totals and rates","sidebarTitle":"Compound v3 market totals and rates","openapi":"data-openapi.json GET /v1/data/lending/compound/market","href":"/data/api/lending-compound-market"},{"title":"Euler v2 vault totals and rates","sidebarTitle":"Euler v2 vault totals and rates","openapi":"data-openapi.json GET /v1/data/lending/euler/vault","href":"/data/api/lending-euler-vault"},{"title":"Fluid Liquidity layer totals and rates","sidebarTitle":"Fluid Liquidity layer totals and rates","openapi":"data-openapi.json GET /v1/data/lending/fluid/token","href":"/data/api/lending-fluid-token"},{"title":"Kamino Lending reserve totals and rates","sidebarTitle":"Kamino Lending reserve totals and rates","openapi":"data-openapi.json GET /v1/data/lending/kamino/reserve","href":"/data/api/lending-kamino-reserve"},{"title":"marginfi bank totals and rates","sidebarTitle":"marginfi bank totals and rates","openapi":"data-openapi.json GET /v1/data/lending/marginfi/bank","href":"/data/api/lending-marginfi-bank"},{"title":"Morpho Blue market totals and rates","sidebarTitle":"Morpho Blue market totals and rates","openapi":"data-openapi.json GET /v1/data/lending/morpho/market","href":"/data/api/lending-morpho-market"},{"title":"Vesu market totals and rates","sidebarTitle":"Vesu market totals and rates","openapi":"data-openapi.json GET /v1/data/lending/vesu/market","href":"/data/api/lending-vesu-market"}]},{"group":"Position","pages":[{"title":"Aave v3 health factor","sidebarTitle":"Aave v3 health factor","openapi":"data-openapi.json GET /v1/data/position/aave/health","href":"/data/api/position-aave-health"},{"title":"Aave v3 distance to liquidation","sidebarTitle":"Aave v3 distance to liquidation","openapi":"data-openapi.json GET /v1/data/position/aave/liquidationDistance","href":"/data/api/position-aave-liquidation-distance"},{"title":"Aave v4 health factor","sidebarTitle":"Aave v4 health factor","openapi":"data-openapi.json GET /v1/data/position/aave4/health","href":"/data/api/position-aave4-health"},{"title":"Morpho Blue health factor","sidebarTitle":"Morpho Blue health factor","openapi":"data-openapi.json GET /v1/data/position/morpho/health","href":"/data/api/position-morpho-health"}]},{"group":"Yield","pages":[{"title":"Vault share price","sidebarTitle":"Vault share price","openapi":"data-openapi.json GET /v1/data/erc4626/sharePrice","href":"/data/api/erc4626-share-price"},{"title":"Liquid staking token exchange rate","sidebarTitle":"Liquid staking token exchange rate","openapi":"data-openapi.json GET /v1/data/lst/rate","href":"/data/api/lst-rate"},{"title":"Sky savings rate","sidebarTitle":"Sky savings rate","openapi":"data-openapi.json GET /v1/data/savings/sky","href":"/data/api/savings-sky"}]},{"group":"Oracle","pages":[{"title":"Two oracle prices compared","sidebarTitle":"Two oracle prices compared","openapi":"data-openapi.json GET /v1/data/oracle/compare","href":"/data/api/oracle-compare"}]},{"group":"Derived","pages":[{"title":"Pool spot against its TWAP","sidebarTitle":"Pool spot against its TWAP","openapi":"data-openapi.json GET /v1/data/dex/pool/twapDeviation","href":"/data/api/dex-pool-twap-deviation"},{"title":"LST market price against its exchange rate","sidebarTitle":"LST market price against its exchange rate","openapi":"data-openapi.json GET /v1/data/lst/marketDeviation","href":"/data/api/lst-market-deviation"},{"title":"Price feed age","sidebarTitle":"Price feed age","openapi":"data-openapi.json GET /v1/data/oracle/staleness","href":"/data/api/oracle-staleness"},{"title":"Stablecoin peg deviation","sidebarTitle":"Stablecoin peg deviation","openapi":"data-openapi.json GET /v1/data/stable/depeg","href":"/data/api/stable-depeg"}]},{"group":"Perps","pages":[{"title":"GMX v2 funding rate","sidebarTitle":"GMX v2 funding rate","openapi":"data-openapi.json GET /v1/data/perp/gmx/funding","href":"/data/api/perp-gmx-funding"},{"title":"GMX v2 open interest","sidebarTitle":"GMX v2 open interest","openapi":"data-openapi.json GET /v1/data/perp/gmx/openInterest","href":"/data/api/perp-gmx-open-interest"},{"title":"Hyperliquid funding rate","sidebarTitle":"Hyperliquid funding rate","openapi":"data-openapi.json GET /v1/data/perp/hyperliquid/funding","href":"/data/api/perp-hyperliquid-funding"},{"title":"Hyperliquid open interest","sidebarTitle":"Hyperliquid open interest","openapi":"data-openapi.json GET /v1/data/perp/hyperliquid/openInterest","href":"/data/api/perp-hyperliquid-open-interest"},{"title":"Hyperliquid position health","sidebarTitle":"Hyperliquid position health","openapi":"data-openapi.json GET /v1/data/perp/hyperliquid/positionHealth","href":"/data/api/perp-hyperliquid-position-health"},{"title":"Hyperliquid perp price","sidebarTitle":"Hyperliquid perp price","openapi":"data-openapi.json GET /v1/data/perp/hyperliquid/price","href":"/data/api/perp-hyperliquid-price"}]},{"group":"Reference data","pages":[{"title":"EIA energy series","sidebarTitle":"EIA energy series","openapi":"data-openapi.json GET /v1/data/energy/eia","href":"/data/api/energy-eia"},{"title":"Central bank reference exchange rate","sidebarTitle":"Central bank reference exchange rate","openapi":"data-openapi.json GET /v1/data/fx/reference","href":"/data/api/fx-reference"},{"title":"LEI status","sidebarTitle":"LEI status","openapi":"data-openapi.json GET /v1/data/lei/status","href":"/data/api/lei-status"},{"title":"BEA national accounts series","sidebarTitle":"BEA national accounts series","openapi":"data-openapi.json GET /v1/data/macro/bea","href":"/data/api/macro-bea"},{"title":"BLS series value","sidebarTitle":"BLS series value","openapi":"data-openapi.json GET /v1/data/macro/bls","href":"/data/api/macro-bls"},{"title":"drand quicknet randomness","sidebarTitle":"drand quicknet randomness","openapi":"data-openapi.json GET /v1/data/random/drand","href":"/data/api/random-drand"},{"title":"FOMC federal funds target range","sidebarTitle":"FOMC federal funds target range","openapi":"data-openapi.json GET /v1/data/rates/fomcTarget","href":"/data/api/rates-fomc-target"},{"title":"Overnight reference rate","sidebarTitle":"Overnight reference rate","openapi":"data-openapi.json GET /v1/data/rates/reference","href":"/data/api/rates-reference"},{"title":"Average interest rate on Treasury securities","sidebarTitle":"Average interest rate on Treasury securities","openapi":"data-openapi.json GET /v1/data/treasury/avgRate","href":"/data/api/treasury-avg-rate"},{"title":"Debt to the Penny","sidebarTitle":"Debt to the Penny","openapi":"data-openapi.json GET /v1/data/treasury/debt","href":"/data/api/treasury-debt"},{"title":"Treasury par yield curve","sidebarTitle":"Treasury par yield curve","openapi":"data-openapi.json GET /v1/data/treasury/parYield","href":"/data/api/treasury-par-yield"}]},{"group":"Chain","pages":[{"title":"Pinned block","sidebarTitle":"Pinned block","openapi":"data-openapi.json GET /v1/data/chain/head","href":"/data/api/chain-head"}]},{"group":"Raw state","pages":[{"title":"Storage slot","sidebarTitle":"Storage slot","openapi":"data-openapi.json GET /v1/data/evm/storage","href":"/data/api/evm-storage"}]}]}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/overview"}]}]},"basePath":"","title":"Session status - Molpha","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}