An Ekubo pool’s current price from its square-root price, adjusted for both tokens’ decimals. Ekubo pools have no address: the pool is named by its key.
Returns: quote-token units per one base token, 18 decimals (uint256); the base is token0 unless inverted
A spot price moves within a block and can be pushed by a single trade.
The price names its quote token. There is no USD conversion.
A key that names no pool reads a zero price, which fails the round.
A signed round on the derived source: see the document’s description for paying with a session or x402.
# The source these parameters build, and its sourceId (free)curl "https://gateway.molpha.io/v1/data/dex/ekubo/price/source?chain=starknet&fee=170141183460469235273462165868118016&finality=fast&invert=true&tickSpacing=1000&token0=0x033068f6539f8e6e6b131e6b2b814e6c34a5224bc66947c47dab9dfee93b35fb&token1=0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7"# The signed value with a sign-in session (without one, the answer is the x402 quote)curl -H "Authorization: Bearer $MOLPHA_SESSION" "https://gateway.molpha.io/v1/data/dex/ekubo/price?chain=starknet&fee=170141183460469235273462165868118016&finality=fast&invert=true&tickSpacing=1000&token0=0x033068f6539f8e6e6b131e6b2b814e6c34a5224bc66947c47dab9dfee93b35fb&token1=0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7"
Authorizations
BearerAuthX402Payment
Authorization
string
header
required
Session token from POST /v1/session (sign in with the subscription owner's or a delegate's wallet). Each value uses one round of the plan's quota.
Query Parameters
chain
enum<string>
required
CAIP-2 id or alias (Starknet chains)
Available options:
starknet,
starknet:SN_MAIN,
starknet-sepolia,
starknet:SN_SEPOLIA
finality
string
default:final
"final" or "fast", or a raw mode: "finalized", "safe", "confirmations:" (EVM, Starknet), "confirmed" (Solana)
token0
string
required
the pool's lower token (Ekubo sorts a pool's tokens)
token1
string
required
the pool's higher token
fee
string
required
the fee as Ekubo writes it: a u128 fraction of 2^128 (0.05% is 170141183460469235273462165868118016)
Pattern: ^(0|[1-9][0-9]*)$
tickSpacing
string
required
the pool's tick spacing (1000 for the 0.05% pools)
Pattern: ^(0|[1-9][0-9]*)$
extension
string
default:0x0
the pool's extension contract; 0x0 for none
invert
enum<string>
default:false
false: token1 per token0; true: the inverse
Available options:
false,
true
signaturesRequired
integer
default:3
Signatures the round needs (default 3). Tolerance-mode sources need at least 3; the gateway bounds it by the protocol minimum, your plan and the live nodes.
Required range: 1 <= x <= 255
Response
The threshold-signed value (data.attestation) and its rendering (data.value); Molpha-Source-Id names the derived source.
data
object
Hide child attributes
data.attestation
object
Hide child attributes
data.attestation.payload
object
Hide child attributes
data.attestation.payload.registryVersion
integer
Example:
42
data.attestation.payload.signaturesRequired
integer
Example:
18
data.attestation.payload.sourceId
string
Example:
"0xabc123..."
data.attestation.payload.timestamp
integer
Gateway-assigned round time in unix milliseconds: the start of the round's 100 ms tick.
Example:
1700100000000
data.attestation.payload.value
string
Value is the fixed 32-byte packed attestation value (exact uint256 or tolerance int256).
Example:
"42150125000000..."
data.attestation.signature
object
Hide child attributes
data.attestation.signature.commitment
string
Example:
"02..."
data.attestation.signature.signature
string
Example:
"01..."
data.attestation.signature.signersBitmap
string
data.fresh
boolean
Example:
true
data.outcome
string
Outcome is present for a source with a policy (node-client docs/policy.md): conclusive, the
value is the source's result; or fallback, the policy concluded INCONCLUSIVE (reason) and the
value is its declared fallback. Both are signed under the source's ID. The label is the nodes'
word: what a consumer can rely on is the signed value compared with the declared fallback.
Example:
"fallback"
data.reason
string
Example:
"0x01"
data.roundId
string
RoundID is the round's ID: requests for one feed in one 100 ms tick share it. The read service
serves the round's archive record, and for a source with a policy each node's receipt, under it
(GET /v1/rounds/{roundId}).
Example:
"5f1c..."
data.value
string
Value is the decimal rendering of payload.value (trailing zeros trimmed), not signed.
Example:
"42150125000000"
data.valuePreimage
string
ValuePreimage is the 0x-prefixed hex of the bytes the source's keccak256 output hashed to
payload.value. It is present only for such a source, and the response is its only copy: the
signed value is the hash. Hash it to check, and pass it as the raw value when submitting the
attestation to Solana.
Example:
"0x68656c6c6f"
status
string
Example:
"completed"
{"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":"data/api/dex-ekubo-price","slug":"/data/api/dex-ekubo-price","pageMetadata":{"title":"Ekubo pool spot price","sidebarTitle":"Ekubo pool spot price","openapi":"data-openapi.json GET /v1/data/dex/ekubo/price","description":"An Ekubo pool's current price from its square-root price, adjusted for both tokens' decimals. Ekubo pools have no address: the pool is named by its key.\n\n**Returns:** quote-token units per one base token, 18 decimals (uint256); the base is token0 unless inverted\n\n- A spot price moves within a block and can be pushed by a single trade.\n\n- The price names its quote token. There is no USD conversion.\n\n- A key that names no pool reads a zero price, which fails the round.\n\nA signed round on the derived source: see the document's description for paying with a session or x402.","href":"/data/api/dex-ekubo-price"},"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 li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"An Ekubo pool’s current price from its square-root price, adjusted for both tokens’ decimals. Ekubo pools have no address: the pool is named by its key.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Returns:\"\n }), \" quote-token units per one base token, 18 decimals (uint256); the base is token0 unless inverted\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"\\n\", _jsx(_components.p, {\n children: \"A spot price moves within a block and can be pushed by a single trade.\"\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"\\n\", _jsx(_components.p, {\n children: \"The price names its quote token. There is no USD conversion.\"\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"\\n\", _jsx(_components.p, {\n children: \"A key that names no pool reads a zero price, which fails the round.\"\n }), \"\\n\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"A signed round on the derived source: see the document’s description for paying with a session or x402.\"\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`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Template `,_jsx(_components.code,{children:`dex.ekubo.price@1`}),` · DEX · spot price as a decimal · reads Starknet`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Route`}),_jsx(_components.th,{children:`Answer`}),_jsx(_components.th,{children:`Cost`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /v1/data/dex/ekubo/price`})}),_jsxs(_components.td,{children:[`The threshold-signed value (`,_jsx(_components.a,{href:`/data/signed-reads`,children:`Signed reads`}),`)`]}),_jsx(_components.td,{children:`One round: x402 or one unit of your plan`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /v1/data/dex/ekubo/price/source`})}),_jsxs(_components.td,{children:[`The source and its `,_jsx(_components.code,{children:`sourceId`})]}),_jsx(_components.td,{children:`Free`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /v1/data/dex/ekubo/price/dry-run`})}),_jsx(_components.td,{children:`A status-only run on one node, no value`}),_jsx(_components.td,{children:`Free`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# The source these parameters build, and its sourceId (free)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://gateway.molpha.io/v1/data/dex/ekubo/price/source?chain=starknet\u0026fee=170141183460469235273462165868118016\u0026finality=fast\u0026invert=true\u0026tickSpacing=1000\u0026token0=0x033068f6539f8e6e6b131e6b2b814e6c34a5224bc66947c47dab9dfee93b35fb\u0026token1=0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# The signed value with a sign-in session (without one, the answer is the x402 quote)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$MOLPHA_SESSION`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://gateway.molpha.io/v1/data/dex/ekubo/price?chain=starknet\u0026fee=170141183460469235273462165868118016\u0026finality=fast\u0026invert=true\u0026tickSpacing=1000\u0026token0=0x033068f6539f8e6e6b131e6b2b814e6c34a5224bc66947c47dab9dfee93b35fb\u0026token1=0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7\"`})]}),`\n`]})})})]})}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":"Ekubo pool spot price","sidebarTitle":"Ekubo pool spot price","openapi":"data-openapi.json GET /v1/data/dex/ekubo/price","description":"An Ekubo pool's current price from its square-root price, adjusted for both tokens' decimals. Ekubo pools have no address: the pool is named by its key.\n\n**Returns:** quote-token units per one base token, 18 decimals (uint256); the base is token0 unless inverted\n\n- A spot price moves within a block and can be pushed by a single trade.\n\n- The price names its quote token. There is no USD conversion.\n\n- A key that names no pool reads a zero price, which fails the round.\n\nA signed round on the derived source: see the document's description for paying with a session or x402.","href":"/data/api/dex-ekubo-price"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"An Ekubo pool's current price from its square-root price, adjusted for both tokens' decimals. Ekubo pools have no address: the pool is named by its key.\n\n**Returns:** quote-token units per one base token, 18 decimals (uint256); the base is token0 unless inverted\n\n- A spot price moves within a block and can be pushed by a single trade.\n\n- The price names its quote token. There is no USD conversion.\n\n- A key that names no pool reads a zero price, which fails the round.\n\nA signed round on the derived source: see the document's description for paying with a session or x402.","operationId":"dex.ekubo.price","parameters":["f2001809-7e8f-4cbb-a8a8-9a76b06e5e19","8bc6d854-747d-4e15-92b0-3f95eb6b22cf","dc50f56d-23c3-4487-9d77-5efa0c8eb457","9e08d522-d6e6-4be8-bcbc-9137ae51969b","38411891-564b-4304-a032-f7641b616439","3d0418e5-b714-4d3b-9e9b-b1e5e8c0c359","336e4877-f8c4-4959-a5bf-43f69be7a1ef","5d3bbaf6-a965-4248-be31-440915882d30","ddf8d5b5-26d2-48ff-9609-0add286ff1d8"],"responses":{"200":"3366d2a1-bbaa-47e3-b0d1-8c065b789ebb","400":"9b640bca-47a3-4695-8c69-8b19005cc3fc","401":"b93f5976-2770-4796-8339-81a09484caf4","402":"039a3240-cbc3-44a0-b0d5-2c96ff62cdf2","403":"5ab7e836-1578-4e95-b65e-ec81fac3bea2","409":"7f2b9de3-6696-40da-9913-1a70180fac74","422":"5fa6e8f4-f5a1-4f4f-9e1f-9d4d36ccef45","429":"4b543a56-3f8b-4825-83c3-b08936fc20c1","503":"5050fff5-33d2-4be8-b686-c3eb2f5b5ce8","default":"21737c57-fa8d-4359-abb0-97e98aa635e3"},"security":["59a190d2-030f-4b7a-a634-b8d34244c4dc","2ede1946-e84d-4c54-9b56-f21f5a4ab02d"],"summary":"Ekubo pool spot price","tags":["DEX"],"x-molpha":{"caveats":["A spot price moves within a block and can be pushed by a single trade.","The price names its quote token. There is no USD conversion.","A key that names no pool reads a zero price, which fails the round."],"chains":["starknet:SN_MAIN","starknet:SN_SEPOLIA"],"class":"DEX · spot price as a decimal","example":{"chain":"starknet","fee":"170141183460469235273462165868118016","finality":"fast","invert":"true","tickSpacing":"1000","token0":"0x033068f6539f8e6e6b131e6b2b814e6c34a5224bc66947c47dab9dfee93b35fb","token1":"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7"},"id":"dex.ekubo.price","kinds":["starknet"],"notices":[],"paths":{"dryRun":"/v1/data/dex/ekubo/price/dry-run","source":"/v1/data/dex/ekubo/price/source","value":"/v1/data/dex/ekubo/price"},"returns":"quote-token units per one base token, 18 decimals (uint256); the base is token0 unless inverted","summary":"An Ekubo pool's current price from its square-root price, adjusted for both tokens' decimals. Ekubo pools have no address: the pool is named by its key.","template":"dex.ekubo.price@1","title":"Ekubo pool spot price","version":1},"method":"get","type":"path","servers":["79510351-e0f7-4cb9-9869-b7bb911657f8"],"path":"/v1/data/dex/ekubo/price","baseUrlOptions":["https://gateway.molpha.io"],"title":"Ekubo pool spot price","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","go"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"f2001809-7e8f-4cbb-a8a8-9a76b06e5e19":{"description":"CAIP-2 id or alias (Starknet chains)","example":"starknet","in":"query","name":"chain","required":true,"schema":{"enum":["starknet","starknet:SN_MAIN","starknet-sepolia","starknet:SN_SEPOLIA"],"type":"string","isRequired":true,"description":"CAIP-2 id or alias (Starknet chains)","uniqueKey":"","typeLabel":"enum\u003cstring>"},"x-molpha-type":"chain"},"8bc6d854-747d-4e15-92b0-3f95eb6b22cf":{"description":"\"final\" or \"fast\", or a raw mode: \"finalized\", \"safe\", \"confirmations:\u003cn>\" (EVM, Starknet), \"confirmed\" (Solana)","example":"fast","in":"query","name":"finality","required":false,"schema":{"default":"final","type":"string","isRequired":false,"description":"\"final\" or \"fast\", or a raw mode: \"finalized\", \"safe\", \"confirmations:\u003cn>\" (EVM, Starknet), \"confirmed\" (Solana)","uniqueKey":"","typeLabel":"string"},"x-molpha-type":"finality"},"dc50f56d-23c3-4487-9d77-5efa0c8eb457":{"description":"the pool's lower token (Ekubo sorts a pool's tokens)","example":"0x033068f6539f8e6e6b131e6b2b814e6c34a5224bc66947c47dab9dfee93b35fb","in":"query","name":"token0","required":true,"schema":{"type":"string","isRequired":true,"description":"the pool's lower token (Ekubo sorts a pool's tokens)","uniqueKey":"","typeLabel":"string"},"x-molpha-type":"address"},"9e08d522-d6e6-4be8-bcbc-9137ae51969b":{"description":"the pool's higher token","example":"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7","in":"query","name":"token1","required":true,"schema":{"type":"string","isRequired":true,"description":"the pool's higher token","uniqueKey":"","typeLabel":"string"},"x-molpha-type":"address"},"38411891-564b-4304-a032-f7641b616439":{"description":"the fee as Ekubo writes it: a u128 fraction of 2^128 (0.05% is 170141183460469235273462165868118016)","example":"170141183460469235273462165868118016","in":"query","name":"fee","required":true,"schema":{"pattern":"^(0|[1-9][0-9]*)$","type":"string","isRequired":true,"description":"the fee as Ekubo writes it: a u128 fraction of 2^128 (0.05% is 170141183460469235273462165868118016)","uniqueKey":"","typeLabel":"string"},"x-molpha-type":"uint"},"3d0418e5-b714-4d3b-9e9b-b1e5e8c0c359":{"description":"the pool's tick spacing (1000 for the 0.05% pools)","example":"1000","in":"query","name":"tickSpacing","required":true,"schema":{"pattern":"^(0|[1-9][0-9]*)$","type":"string","isRequired":true,"description":"the pool's tick spacing (1000 for the 0.05% pools)","uniqueKey":"","typeLabel":"string"},"x-molpha-type":"uint"},"336e4877-f8c4-4959-a5bf-43f69be7a1ef":{"description":"the pool's extension contract; 0x0 for none","in":"query","name":"extension","required":false,"schema":{"default":"0x0","type":"string","isRequired":false,"description":"the pool's extension contract; 0x0 for none","uniqueKey":"","typeLabel":"string"},"x-molpha-type":"address"},"5d3bbaf6-a965-4248-be31-440915882d30":{"description":"false: token1 per token0; true: the inverse","example":"true","in":"query","name":"invert","required":false,"schema":{"default":"false","enum":["false","true"],"type":"string","isRequired":false,"description":"false: token1 per token0; true: the inverse","uniqueKey":"","typeLabel":"enum\u003cstring>"},"x-molpha-type":"enum"},"ddf8d5b5-26d2-48ff-9609-0add286ff1d8":{"description":"Signatures the round needs (default 3). Tolerance-mode sources need at least 3; the gateway bounds it by the protocol minimum, your plan and the live nodes.","in":"query","name":"signaturesRequired","required":false,"schema":{"default":3,"maximum":255,"minimum":1,"type":"integer","isRequired":false,"description":"Signatures the round needs (default 3). Tolerance-mode sources need at least 3; the gateway bounds it by the protocol minimum, your plan and the live nodes.","uniqueKey":"","typeLabel":"integer"}}},"responses":{"3366d2a1-bbaa-47e3-b0d1-8c065b789ebb":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attestation":{"properties":{"payload":{"properties":{"registryVersion":{"example":42,"type":"integer","uniqueKey":"data.attestation.payload.registryVersion","typeLabel":"integer"},"signaturesRequired":{"example":18,"type":"integer","uniqueKey":"data.attestation.payload.signaturesRequired","typeLabel":"integer"},"sourceId":{"example":"0xabc123...","type":"string","uniqueKey":"data.attestation.payload.sourceId","typeLabel":"string"},"timestamp":{"description":"Gateway-assigned round time in unix milliseconds: the start of the round's 100 ms tick.","example":1700100000000,"type":"integer","uniqueKey":"data.attestation.payload.timestamp","typeLabel":"integer"},"value":{"description":"Value is the fixed 32-byte packed attestation value (exact uint256 or tolerance int256).","example":"42150125000000...","type":"string","uniqueKey":"data.attestation.payload.value","typeLabel":"string"}},"type":"object","uniqueKey":"data.attestation.payload","typeLabel":"object"},"signature":{"properties":{"commitment":{"example":"02...","type":"string","uniqueKey":"data.attestation.signature.commitment","typeLabel":"string"},"signature":{"example":"01...","type":"string","uniqueKey":"data.attestation.signature.signature","typeLabel":"string"},"signersBitmap":{"type":"string","uniqueKey":"data.attestation.signature.signersBitmap","typeLabel":"string"}},"type":"object","uniqueKey":"data.attestation.signature","typeLabel":"object"}},"type":"object","uniqueKey":"data.attestation","typeLabel":"object"},"fresh":{"example":true,"type":"boolean","uniqueKey":"data.fresh","typeLabel":"boolean"},"outcome":{"description":"Outcome is present for a source with a policy (node-client docs/policy.md): conclusive, the\nvalue is the source's result; or fallback, the policy concluded INCONCLUSIVE (reason) and the\nvalue is its declared fallback. Both are signed under the source's ID. The label is the nodes'\nword: what a consumer can rely on is the signed value compared with the declared fallback.","example":"fallback","type":"string","uniqueKey":"data.outcome","typeLabel":"string"},"reason":{"example":"0x01","type":"string","uniqueKey":"data.reason","typeLabel":"string"},"roundId":{"description":"RoundID is the round's ID: requests for one feed in one 100 ms tick share it. The read service\nserves the round's archive record, and for a source with a policy each node's receipt, under it\n(GET /v1/rounds/{roundId}).","example":"5f1c...","type":"string","uniqueKey":"data.roundId","typeLabel":"string"},"value":{"description":"Value is the decimal rendering of payload.value (trailing zeros trimmed), not signed.","example":"42150125000000","type":"string","uniqueKey":"data.value","typeLabel":"string"},"valuePreimage":{"description":"ValuePreimage is the 0x-prefixed hex of the bytes the source's keccak256 output hashed to\npayload.value. It is present only for such a source, and the response is its only copy: the\nsigned value is the hash. Hash it to check, and pass it as the raw value when submitting the\nattestation to Solana.","example":"0x68656c6c6f","type":"string","uniqueKey":"data.valuePreimage","typeLabel":"string"}},"type":"object","uniqueKey":"data","typeLabel":"object"},"status":{"example":"completed","type":"string","uniqueKey":"status","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"attestation":{"payload":{"registryVersion":42,"signaturesRequired":18,"sourceId":"0xabc123...","timestamp":1700100000000,"value":"42150125000000..."},"signature":{"commitment":"02...","signature":"01...","signersBitmap":"\u003cstring>"}},"fresh":true,"outcome":"fallback","reason":"0x01","roundId":"5f1c...","value":"42150125000000","valuePreimage":"0x68656c6c6f"},"status":"completed"}}},"exampleType":"generated"}},"description":"The threshold-signed value (`data.attestation`) and its rendering (`data.value`); `Molpha-Source-Id` names the derived source.","exampleType":"generated"},"9b640bca-47a3-4695-8c69-8b19005cc3fc":{"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"}},"description":"The round request was refused (for example `signaturesRequired` below the protocol minimum); a malformed query is the data error body","exampleType":"generated"},"b93f5976-2770-4796-8339-81a09484caf4":{"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"}},"description":"The session token is unknown, expired or revoked","exampleType":"generated"},"039a3240-cbc3-44a0-b0d5-2c96ff62cdf2":{"content":{"application/json":{"schema":{"properties":{"accepts":{"items":{"properties":{"amount":{"type":"string","uniqueKey":"accepts.items.[INDEX].amount","typeLabel":"string"},"asset":{"type":"string","uniqueKey":"accepts.items.[INDEX].asset","typeLabel":"string"},"extra":{"additionalProperties":{"type":"string","uniqueKey":"accepts.items.[INDEX].extra.additionalProperties","typeLabel":"string"},"type":"object","uniqueKey":"accepts.items.[INDEX].extra","typeLabel":"object"},"maxTimeoutSeconds":{"type":"integer","uniqueKey":"accepts.items.[INDEX].maxTimeoutSeconds","typeLabel":"integer"},"network":{"type":"string","uniqueKey":"accepts.items.[INDEX].network","typeLabel":"string"},"payTo":{"type":"string","uniqueKey":"accepts.items.[INDEX].payTo","typeLabel":"string"},"scheme":{"type":"string","uniqueKey":"accepts.items.[INDEX].scheme","typeLabel":"string"}},"type":"object","uniqueKey":"accepts.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"accepts","typeLabel":"object[]"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"extensions":{"type":"object","description":"Extensions carries non-Molpha payment terms, currently the relayed\nupstream-source quote. It never affects the accepted-requirements\nbyte comparison performed by Decode.","properties":{"upstream":{"properties":{"eligibleSetSize":{"type":"integer","uniqueKey":"extensions.upstream.eligibleSetSize","typeLabel":"integer"},"error":{"type":"string","uniqueKey":"extensions.upstream.error","typeLabel":"string"},"nodeCount":{"type":"integer","uniqueKey":"extensions.upstream.nodeCount","typeLabel":"integer"},"provider":{"description":"Provider names the integrated provider whose paid host this is, when it is one.","type":"string","uniqueKey":"extensions.upstream.provider","typeLabel":"string"},"redundancyBuffer":{"type":"integer","uniqueKey":"extensions.upstream.redundancyBuffer","typeLabel":"integer"},"resource":{"type":"string","uniqueKey":"extensions.upstream.resource","typeLabel":"string"},"signaturesRequired":{"type":"integer","uniqueKey":"extensions.upstream.signaturesRequired","typeLabel":"integer"},"supportedX402Versions":{"items":{"type":"integer","uniqueKey":"extensions.upstream.supportedX402Versions.items.[INDEX]","typeLabel":"integer"},"type":"array","uniqueKey":"extensions.upstream.supportedX402Versions","typeLabel":"integer[]"}},"type":"object","uniqueKey":"extensions.upstream","typeLabel":"object"}},"uniqueKey":"extensions","typeLabel":"object"},"resource":{"properties":{"description":{"type":"string","uniqueKey":"resource.description","typeLabel":"string"},"mimeType":{"type":"string","uniqueKey":"resource.mimeType","typeLabel":"string"},"url":{"type":"string","uniqueKey":"resource.url","typeLabel":"string"}},"type":"object","uniqueKey":"resource","typeLabel":"object"},"x402Version":{"type":"integer","uniqueKey":"x402Version","typeLabel":"integer"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"accepts":[{"amount":"\u003cstring>","asset":"\u003cstring>","extra":{},"maxTimeoutSeconds":123,"network":"\u003cstring>","payTo":"\u003cstring>","scheme":"\u003cstring>"}],"error":"\u003cstring>","extensions":{"upstream":{"eligibleSetSize":123,"error":"\u003cstring>","nodeCount":123,"provider":"\u003cstring>","redundancyBuffer":123,"resource":"\u003cstring>","signaturesRequired":123,"supportedX402Versions":[123]}},"resource":{"description":"\u003cstring>","mimeType":"\u003cstring>","url":"\u003cstring>"},"x402Version":123}}},"exampleType":"generated"}},"description":"No session and no payment: the x402 quote. Pay it and send the same request with `PAYMENT-SIGNATURE`","headers":{"PAYMENT-REQUIRED":{"description":"Base64 x402 v2 payment requirements","schema":{"type":"string"}}},"exampleType":"generated"},"5ab7e836-1578-4e95-b65e-ec81fac3bea2":{"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"}},"description":"The subscription is inactive, the delegate is not authorized, or the term's quota is spent","exampleType":"generated"},"7f2b9de3-6696-40da-9913-1a70180fac74":{"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"}},"description":"You already have a round for this source and quorum in this 100 ms tick; retry one tick later","exampleType":"generated"},"5fa6e8f4-f5a1-4f4f-9e1f-9d4d36ccef45":{"description":"A parameter is wrong, or the chain shows it names something else","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"example":"PARAM_INVALID","type":"string","uniqueKey":"error.code","typeLabel":"string"},"input":{"type":"string","uniqueKey":"error.input","typeLabel":"string"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"stage":{"type":"string","uniqueKey":"error.stage","typeLabel":"string"}},"type":"object","uniqueKey":"error","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"PARAM_INVALID","input":"\u003cstring>","message":"\u003cstring>","stage":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"4b543a56-3f8b-4825-83c3-b08936fc20c1":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"example":"PARAM_INVALID","type":"string","uniqueKey":"error.code","typeLabel":"string"},"input":{"type":"string","uniqueKey":"error.input","typeLabel":"string"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"stage":{"type":"string","uniqueKey":"error.stage","typeLabel":"string"}},"type":"object","uniqueKey":"error","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"PARAM_INVALID","input":"\u003cstring>","message":"\u003cstring>","stage":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Too many new derivations from this address, or too many rounds for this consumer; retry after Retry-After","exampleType":"generated"},"5050fff5-33d2-4be8-b686-c3eb2f5b5ce8":{"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"}},"description":"No quorum could form now, the gateway is at capacity, or a fact could not be read; retry after Retry-After","exampleType":"generated"},"21737c57-fa8d-4359-abb0-97e98aa635e3":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"example":"PARAM_INVALID","type":"string","uniqueKey":"error.code","typeLabel":"string"},"input":{"type":"string","uniqueKey":"error.input","typeLabel":"string"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"stage":{"type":"string","uniqueKey":"error.stage","typeLabel":"string"}},"type":"object","uniqueKey":"error","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"PARAM_INVALID","input":"\u003cstring>","message":"\u003cstring>","stage":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Data error body","exampleType":"generated"}},"security":{"59a190d2-030f-4b7a-a634-b8d34244c4dc":{"BearerAuth":{"description":"Session token from `POST /v1/session` (sign in with the subscription owner's or a delegate's wallet). Each value uses one round of the plan's quota.","scheme":"bearer","type":"http","scopes":[],"schemeName":"BearerAuth"}},"2ede1946-e84d-4c54-9b56-f21f5a4ab02d":{"X402Payment":{"description":"Base64 x402 v2 payment payload for the quote a request without it receives (`402`, `PAYMENT-REQUIRED`).","in":"header","name":"PAYMENT-SIGNATURE","type":"apiKey","scopes":[],"schemeName":"X402Payment"}}},"servers":{"79510351-e0f7-4cb9-9869-b7bb911657f8":{"url":"https://gateway.molpha.io","description":"Molpha gateway (Solana devnet release)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"Session token from `POST /v1/session` (sign in with the subscription owner's or a delegate's wallet). Each value uses one round of the plan's quota.","scheme":"bearer","type":"http","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Session token from `POST /v1/session` (sign in with the subscription owner's or a delegate's wallet). Each value uses one round of the plan's quota.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"},{"schemes":[{"scheme":{"description":"Base64 x402 v2 payment payload for the quote a request without it receives (`402`, `PAYMENT-REQUIRED`).","in":"header","name":"PAYMENT-SIGNATURE","type":"apiKey","scopes":[],"schemeName":"X402Payment"},"schema":{"title":"PAYMENT-SIGNATURE","type":"string","description":"Base64 x402 v2 payment payload for the quote a request without it receives (`402`, `PAYMENT-REQUIRED`).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"X402Payment","name":"PAYMENT-SIGNATURE"}],"title":"X402Payment"}]},"originalFileLocation":"data-openapi.json"},"subdomain":"molpha","siteName":"Molpha","title":"Ekubo pool spot price - Molpha","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T22:09:09.605Z","originalFileLocation":"data/api/dex-ekubo-price.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=\"An Ekubo pool\u0026#x27;s current price from its square-root price, adjusted for both tokens\u0026#x27; decimals. Ekubo pools have no address: the pool is named by its key. Returns: quote-token units per one base token, 18 decimals (uint256); the base is token0 unless inverted - A spot price moves within a block and can be pushed by a single trade. - The price names its quote token. There is no USD conversion. - A key that names no pool reads a zero price, which fails the round. A signed round on the derived source: see the document\u0026#x27;s description for paying with a session or x402.\">\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=\"Ekubo pool spot price - Molpha\">\u003cmeta data-mint-head property=\"og:description\" content=\"An Ekubo pool\u0026#x27;s current price from its square-root price, adjusted for both tokens\u0026#x27; decimals. Ekubo pools have no address: the pool is named by its key. Returns: quote-token units per one base token, 18 decimals (uint256); the base is token0 unless inverted - A spot price moves within a block and can be pushed by a single trade. - The price names its quote token. There is no USD conversion. - A key that names no pool reads a zero price, which fails the round. A signed round on the derived source: see the document\u0026#x27;s description for paying with a session or x402.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Molpha Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.molpha.io/data/api/dex-ekubo-price\">\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=DEX\u0026amp;title=Ekubo+pool+spot+price\u0026amp;description=An+Ekubo+pool%27s+current+price+from+its+square-root+price%2C+adjusted+for+both+tokens%27+decimals.+Ekubo+pools+have+no+address%3A+the+pool+is+named+by+its+key.%0A%0A**Retu\u0026amp;theme=31c325c332ddb0c6aed47a08\u0026amp;signature=89687e89adc2800d04bdc1a0d0ab0afd0a7f3a0b0ace2eb35eb2a608934a1439\">\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=\"Ekubo pool spot price - Molpha\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"An Ekubo pool\u0026#x27;s current price from its square-root price, adjusted for both tokens\u0026#x27; decimals. Ekubo pools have no address: the pool is named by its key. Returns: quote-token units per one base token, 18 decimals (uint256); the base is token0 unless inverted - A spot price moves within a block and can be pushed by a single trade. - The price names its quote token. There is no USD conversion. - A key that names no pool reads a zero price, which fails the round. A signed round on the derived source: see the document\u0026#x27;s description for paying with a session or x402.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://molpha.mintlify.site/_mintlify/api/og/v2?division=DEX\u0026amp;title=Ekubo+pool+spot+price\u0026amp;description=An+Ekubo+pool%27s+current+price+from+its+square-root+price%2C+adjusted+for+both+tokens%27+decimals.+Ekubo+pools+have+no+address%3A+the+pool+is+named+by+its+key.%0A%0A**Retu\u0026amp;theme=31c325c332ddb0c6aed47a08\u0026amp;signature=89687e89adc2800d04bdc1a0d0ab0afd0a7f3a0b0ace2eb35eb2a608934a1439\">\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/data/api/dex-ekubo-price\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/data/api/dex-ekubo-price.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/data/api/dex-ekubo-price#webpage\",\"url\":\"https://docs.molpha.io/data/api/dex-ekubo-price\",\"name\":\"Ekubo pool spot price\",\"description\":\"An Ekubo pool's current price from its square-root price, adjusted for both tokens' decimals. Ekubo pools have no address: the pool is named by its key. Returns: quote-token units per one base token, 18 decimals (uint256); the base is token0 unless inverted - A spot price moves within a block and can be pushed by a single trade. - The price names its quote token. There is no USD conversion. - A key that names no pool reads a zero price, which fails the round. A signed round on the derived source: see the document's description for paying with a session or x402.\",\"dateModified\":\"2026-11-30T22:09:09.605Z\",\"isPartOf\":{\"@id\":\"https://docs.molpha.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.molpha.io/data/api/dex-ekubo-price#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.molpha.io/data/api/dex-ekubo-price#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Data templates\",\"item\":\"https://docs.molpha.io/data/api/supply-reconcile\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DEX\",\"item\":\"https://docs.molpha.io/data/api/curve-price-oracle\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ekubo pool spot price\",\"item\":\"https://docs.molpha.io/data/api/dex-ekubo-price\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.molpha.io/data/api/dex-ekubo-price#apireference\",\"headline\":\"Ekubo pool spot price\",\"name\":\"Ekubo pool spot price\",\"description\":\"An Ekubo pool's current price from its square-root price, adjusted for both tokens' decimals. Ekubo pools have no address: the pool is named by its key. Returns: quote-token units per one base token, 18 decimals (uint256); the base is token0 unless inverted - A spot price moves within a block and can be pushed by a single trade. - The price names its quote token. There is no USD conversion. - A key that names no pool reads a zero price, which fails the round. A signed round on the derived source: see the document's description for paying with a session or x402.\",\"url\":\"https://docs.molpha.io/data/api/dex-ekubo-price\",\"mainEntityOfPage\":{\"@id\":\"https://docs.molpha.io/data/api/dex-ekubo-price#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":"/data/api/dex-ekubo-price.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","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","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","description":"A Curve pool's exponential moving average price (price_oracle) of coin i+1 in coin 0.\n\n**Returns:** coin 0 units per one priced coin, 18 decimals (uint256); Curve scales it to 18 decimals whatever the coins' decimals\n\n- An EMA lags the spot price by design; its half-life is the pool's ma_exp_time.\n\n- For ETH pools coin 0 can be the native-ETH placeholder 0xeeee…eeee.\n\nA signed round on the derived source: see the document's description for paying with a session or x402.","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","description":"A pool's current price: from a concentrated-liquidity pool's square-root price (Uniswap v3 and v4, Slipstream, Whirlpool, Raydium CLMM), a Meteora DLMM pair's active bin, or a v2-style pool's reserves, adjusted for both tokens' decimals.\n\n**Returns:** quote-token units per one base token, 18 decimals; the base is token0 (token A, currency0) unless inverted\n\n- A spot price moves within a block and can be pushed by a single trade; use dex.pool.twap or a liquidity floor for settlement. A v2-style pool's price is its reserve ratio, the cheapest of all to move: set minReserve.\n\n- The price names its quote token. There is no USD conversion; Uniswap v4's native currency (address 0) is the chain's native token, 18 decimals.\n\n- Uniswap v4: the pool id is checked against the key the PositionManager stored for it, so a pool no position was ever opened in is refused. Pools whose hook may return a swap delta (beforeSwapReturnDelta or afterSwapReturnDelta, i.e. a custom curve) are refused: their square-root price need not be the price a swap gets. Dynamic-fee hooks are accepted. v4 pools have no TWAP oracle.\n\n- Aerodrome stable pools (x^3y + y^3x) are refused: their price is not the reserve ratio.\n\n- Solana pools are written every slot, so the Solana form runs in tolerance mode (median of node reads). Every Solana source asserts the pool's owner program (Whirlpool, Raydium CLMM or DLMM).\n\n- Prices below 1e-18 of the quote token round to zero; use invert.\n\n- A Meteora DLMM pair is priced at its active bin, (1 + binStep/10000)^activeId, computed to 36 places with each step rounded down: it agrees with the program's Q64.64 price to about 12 significant digits.\n\n- Version 1 did not assert the owner of Whirlpool and Raydium pools and read only Uniswap v3-style pools on EVM; it is no longer served.\n\nA signed round on the derived source: see the document's description for paying with a session or x402.","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":"Ekubo pool spot price - 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"]}