Example code snippets to query the indexer for oracle module related data.
Using gRPC
Fetch list of oracles
import { IndexerGrpcOracleApi } from "@injectivelabs/sdk-ts/client/indexer";import { getNetworkEndpoints, Network } from "@injectivelabs/networks";const endpoints = getNetworkEndpoints(Network.Testnet);const indexerGrpcOracleApi = new IndexerGrpcOracleApi(endpoints.indexer);const oracleList = await indexerGrpcOracleApi.fetchOracleList();console.log(oracleList);
Fetch price from the oracle
Base and Quote oracle symbols are always fetched from the market itself. They can be in a different representation than plain symbols (i.e hashes for pyth oracle).
import { getNetworkEndpoints, Network } from "@injectivelabs/networks";import { IndexerGrpcOracleApi, IndexerGrpcDerivativesApi,} from "@injectivelabs/sdk-ts/client/indexer";const endpoints = getNetworkEndpoints(Network.Testnet);const indexerGrpcDerivativesApi = new IndexerGrpcDerivativesApi(endpoints.indexer);const indexerGrpcOracleApi = new IndexerGrpcOracleApi(endpoints.indexer);// Fetch the list of derivative marketsconst markets = await indexerGrpcDerivativesApi.fetchMarkets();// Find the specific market by tickerconst market = markets.find((market) => market.ticker === "INJ/USDT PERP");if (!market) { throw new Error("Market not found");}// These values are a part of the market object// fetched from the indexer i.e `oracleBase` and `oracleQuote`const baseSymbol = market.oracleBase;const quoteSymbol = market.oracleQuote;const oracleType = market.oracleType;const oraclePrice = await indexerGrpcOracleApi.fetchOraclePriceNoThrow({ baseSymbol, quoteSymbol, oracleType,});console.log(oraclePrice);
Last modified on March 31, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Injective Docs","description":"Injective is a high-performance, interoperable layer-one blockchain for building premier Web3 financial applications.","colors":{"primary":"#0082FA","light":"#E6F2FF","dark":"#0082FA"},"logo":{"light":"https://mintcdn.com/injectivelabs/QlZaYS7qaDAyLKCM/img/injective-logo-192x192.png?fit=max\u0026auto=format\u0026n=QlZaYS7qaDAyLKCM\u0026q=85\u0026s=07e0ad67fc7a332d74f7d418e2727dbd","dark":"https://mintcdn.com/injectivelabs/QlZaYS7qaDAyLKCM/img/injective-logo-192x192.png?fit=max\u0026auto=format\u0026n=QlZaYS7qaDAyLKCM\u0026q=85\u0026s=07e0ad67fc7a332d74f7d418e2727dbd"},"favicon":"https://mintcdn.com/injectivelabs/QlZaYS7qaDAyLKCM/img/injective-logo-192x192.png?fit=max\u0026auto=format\u0026n=QlZaYS7qaDAyLKCM\u0026q=85\u0026s=07e0ad67fc7a332d74f7d418e2727dbd","navbar":{"links":[{"href":"https://status.injective.network","label":"Status"},{"href":"https://testnet.faucet.injective.network","label":"Faucet"},{"href":"https://github.com/InjectiveLabs","type":"github"},{"href":"https://sentry.lcd.injective.network/swagger/#/","label":"API"},{"href":"https://chain.injective.network","label":"Operator Portal"},{"href":"/upgrade/latest","label":"Latest Upgrade"}]},"search":{"prompt":"Search Injective docs..."},"seo":{"metatags":{"og:type":"website","og:site_name":"Injective Docs","canonical":"https://docs.injective.network","indexnow-verification":"83e83a6368fb4defb4ae2ae309922656","msvalidate.01":"C0245176149C1961102F102F1E76F150"},"indexing":"all"},"styling":{"eyebrows":"breadcrumbs","latex":true},"integrations":{"gtm":{"tagId":"GTM-T4827WQD"}},"metadata":{"timestamp":true},"navigation":{"languages":[{"language":"en","footer":{"socials":{"website":"https://injective.com/","github":"https://github.com/InjectiveLabs","x":"https://x.com/injective","youtube":"https://youtube.com/@injective_","discord":"https://discord.gg/injective","telegram":"https://t.me/+8Y_0HOFLhnRlZDU9","linkedin":"https://www.linkedin.com/company/injectivelabs","reddit":"https://www.reddit.com/r/injective"},"links":[{"header":"About docs","items":[{"label":"Maintained by Injective Labs' Developer Relations Team","href":"https://injective.com/"},{"label":"Open an issue","href":"https://github.com/InjectiveLabs/injective-docs/issues"},{"label":"Submit a PR","href":"https://github.com/InjectiveLabs/injective-docs/pulls"}]},{"header":"Resources","items":[{"label":"Operator Portal","href":"https://chain.injective.network"},{"label":"Network Status","href":"https://status.injective.network"},{"label":"Blog","href":"https://injective.com/blog"},{"label":"Build","href":"https://injective.com/build"},{"label":"7 days of Injective","href":"https://youtube.com/watch?v=bE9JbFpsDFM\u0026list=PLTS_stt4XpDBGDXxrx4crxijAemFr3Mix"}]}]},"href":""},{"language":"zh-Hans","href":"cn"},{"language":"ko","href":"ko"},{"language":"jp","href":"jp"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"injectivelabs","hasAudioNarration":false,"actualSubdomain":"injectivelabs","customDomains":["docs.injective.network"],"gitSource":{"type":"github","owner":"injectivelabs","repo":"injective-docs","deployBranch":"main","contentDirectory":".gitbook","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b047dde40205e05045e423b","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"en","tag":"Develop","count":264},{"language":"en","tag":"BUILD","count":264},{"language":"ko","tag":"개발","count":255},{"language":"ko","tag":"빌드","count":255},{"language":"en","tag":"Native Developers","count":198},{"language":"ko","tag":"Native 개발자","count":175},{"language":"zh-Hans","tag":"开发","count":158},{"language":"zh-Hans","tag":"构建","count":158},{"language":"jp","tag":"開発","count":133},{"language":"jp","tag":"ビルド","count":133},{"language":"en","tag":"Getting Started","count":123},{"language":"en","tag":"INJECTIVE","count":123},{"language":"en","tag":"Injective Modules","count":100},{"language":"ko","tag":"Injective Modules","count":93},{"language":"zh-Hans","tag":"Native 开发者","count":73},{"language":"zh-Hans","tag":"快速开始","count":71},{"language":"zh-Hans","tag":"INJECTIVE","count":71},{"language":"jp","tag":"ネイティブ開発者","count":66},{"language":"en","tag":"Network Infrastructure","count":65},{"language":"ko","tag":"시작하기","count":64},{"language":"ko","tag":"INJECTIVE","count":64},{"language":"jp","tag":"はじめに","count":58},{"language":"jp","tag":"INJECTIVE","count":58},{"language":"en","tag":"DeFi on Injective","count":52},{"language":"en","tag":"Upgrades","count":45},{"language":"zh-Hans","tag":"DeFi","count":41},{"language":"en","tag":"Historical Upgrades","count":40},{"language":"jp","tag":"DeFi","count":40},{"language":"ko","tag":"DeFi","count":40},{"language":"zh-Hans","tag":"EVM 开发者","count":31},{"language":"zh-Hans","tag":"开发者","count":30},{"language":"ko","tag":"개발자","count":30},{"language":"jp","tag":"EVM開発者","count":28},{"language":"ko","tag":"EVM 개발자","count":28},{"language":"zh-Hans","tag":"在 Injective 上构建","count":26},{"language":"jp","tag":"Injectiveで構築","count":26},{"language":"zh-Hans","tag":"交易","count":24},{"language":"ko","tag":"Injective에서 빌드","count":22},{"language":"jp","tag":"チェーンのクエリ","count":18},{"language":"jp","tag":"開発者","count":17},{"language":"default","tag":"개발","count":8},{"language":"default","tag":"빌드","count":8},{"language":"default","tag":"개발자","count":8},{"language":"default","tag":"INJECTIVE","count":2},{"language":"default","tag":"Develop","count":2},{"language":"default","tag":"BUILD","count":2},{"language":"default","tag":"EVM Developers","count":2},{"language":"default","tag":"시작하기","count":1},{"language":"default","tag":"인프라","count":1},{"language":"default","tag":"Getting Started","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","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":"site-roles","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":"assistant-v5","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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"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":"sso-setup-deadline-banner","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":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"utility-bar.css","content":"nav a[href*=\"chain-portal\"]{color:#0082FA!important;font-weight:600!important}aside [data-active=\"true\"],[data-component-name=\"sidebar\"] [data-active=\"true\"]{color:#0082FA!important;background:rgba(0, 130, 250, 0.08)!important}nav [data-active=\"true\"],[data-component-name=\"tabs\"] [data-active=\"true\"]{background:transparent!important}nav a[href*=\"/upgrade/latest\"]{color:#0082FA!important;font-weight:600!important;background:#E6F2FF!important;padding:4px 10px!important;border-radius:6px!important}"}]}
{"page":{"pagePath":"developers-native/query-indexer/oracle","slug":"/developers-native/query-indexer/oracle","pageMetadata":{"title":"Oracle","updatedAt":"2025-12-23","description":null,"href":"/developers-native/query-indexer/oracle"},"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={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Example code snippets to query the indexer for oracle module related data.`}),`\n`,_jsx(Heading,{level:`2`,id:`using-grpc`,children:`Using gRPC`}),`\n`,_jsx(Heading,{level:`3`,id:`fetch-list-of-oracles`,children:`Fetch list of oracles`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`IndexerGrpcOracleApi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@injectivelabs/sdk-ts/client/indexer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`getNetworkEndpoints`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Network`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@injectivelabs/networks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` endpoints`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getNetworkEndpoints`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Network`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Testnet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` indexerGrpcOracleApi`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` IndexerGrpcOracleApi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`endpoints`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`indexer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` oracleList`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` indexerGrpcOracleApi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fetchOracleList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`oracleList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`fetch-price-from-the-oracle`,children:`Fetch price from the oracle`}),`\n`,_jsxs(_components.p,{children:[`Base and Quote oracle symbols are always fetched from the market itself. They can be in a different representation than plain symbols (i.e hashes for `,_jsx(_components.code,{children:`pyth`}),` oracle).`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`33`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`33`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`getNetworkEndpoints`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Network`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@injectivelabs/networks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` IndexerGrpcOracleApi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` IndexerGrpcDerivativesApi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@injectivelabs/sdk-ts/client/indexer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` endpoints`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getNetworkEndpoints`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Network`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Testnet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` indexerGrpcDerivativesApi`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` IndexerGrpcDerivativesApi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`endpoints`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`indexer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` indexerGrpcOracleApi`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` IndexerGrpcOracleApi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`endpoints`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`indexer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Fetch the list of derivative markets`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` markets`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` indexerGrpcDerivativesApi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fetchMarkets`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Find the specific market by ticker`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` market`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` markets`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`find`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`((`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`market`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` market`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ticker`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"INJ/USDT PERP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`market`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` throw`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Market not found\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// These values are a part of the market object`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:\"// fetched from the indexer i.e `oracleBase` and `oracleQuote`\"})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` baseSymbol`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` market`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`oracleBase`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` quoteSymbol`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` market`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`oracleQuote`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` oracleType`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` market`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`oracleType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` oraclePrice`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` indexerGrpcOracleApi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fetchOraclePriceNoThrow`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` baseSymbol`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` quoteSymbol`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` oracleType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`oraclePrice`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\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":"Oracle","updatedAt":"2025-12-23","description":null,"href":"/developers-native/query-indexer/oracle"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Using gRPC","slug":"using-grpc","depth":2,"children":[{"title":"Fetch list of oracles","slug":"fetch-list-of-oracles","depth":3,"children":[]},{"title":"Fetch price from the oracle","slug":"fetch-price-from-the-oracle","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/injectivelabs/afb6b70adb7c4270/layout-tweaks.js"],"subdomain":"injectivelabs","siteName":"Injective Docs","title":"Oracle - Injective Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/developers-native/query-indexer/oracle","matchLevel":0},"zh-Hans":{"href":"/cn/developers-native/query-indexer/oracle","matchLevel":1},"ko":{"href":"/ko/developers-native/query-indexer/oracle","matchLevel":1},"jp":{"href":"/jp/developers-native/query-indexer/oracle","matchLevel":1}}},"lastModified":"2026-10-11T10:31:51.883Z","gitLastModified":"2026-03-31T12:24:45.000Z","originalFileLocation":"developers-native/query-indexer/oracle.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Injective Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/injectivelabs/dGav8VeqGBHoojU_/_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/injectivelabs/dGav8VeqGBHoojU_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/injectivelabs/dGav8VeqGBHoojU_/_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/injectivelabs/dGav8VeqGBHoojU_/_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/injectivelabs/dGav8VeqGBHoojU_/_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/injectivelabs/dGav8VeqGBHoojU_/_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/injectivelabs/dGav8VeqGBHoojU_/_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/injectivelabs/dGav8VeqGBHoojU_/_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/injectivelabs/dGav8VeqGBHoojU_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Oracle - Injective Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Injective Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.injective.network/developers-native/query-indexer/oracle\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://injectivelabs.mintlify.site/_mintlify/api/og/v2?division=Querying+the+Indexer\u0026amp;title=Oracle\u0026amp;theme=899fdb1d0593f9b560558788\u0026amp;signature=b12b7000c2ae05a8e50dbd4958cf438423a5a34de3a8dafebee0b304751ea090\">\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=\"Oracle - Injective Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://injectivelabs.mintlify.site/_mintlify/api/og/v2?division=Querying+the+Indexer\u0026amp;title=Oracle\u0026amp;theme=899fdb1d0593f9b560558788\u0026amp;signature=b12b7000c2ae05a8e50dbd4958cf438423a5a34de3a8dafebee0b304751ea090\">\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/injectivelabs/dGav8VeqGBHoojU_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Injective Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0082FA\">\u003cmeta data-mint-head name=\"indexnow-verification\" content=\"83e83a6368fb4defb4ae2ae309922656\">\u003cmeta data-mint-head name=\"msvalidate.01\" content=\"C0245176149C1961102F102F1E76F150\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.injective.network/developers-native/query-indexer/oracle\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developers-native/query-indexer/oracle.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.injective.network/developers-native/query-indexer/oracle\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://docs.injective.network/cn/developers-native/query-indexer/oracle\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.injective.network/ko/developers-native/query-indexer/oracle\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.injective.network/jp/developers-native/query-indexer/oracle\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.injective.network/developers-native/query-indexer/oracle\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.injective.network/#organization\",\"name\":\"Injective Docs\",\"url\":\"https://docs.injective.network\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/injectivelabs/QlZaYS7qaDAyLKCM/img/injective-logo-192x192.png?fit=max\u0026auto=format\u0026n=QlZaYS7qaDAyLKCM\u0026q=85\u0026s=07e0ad67fc7a332d74f7d418e2727dbd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.injective.network#website\",\"name\":\"Injective Docs\",\"url\":\"https://docs.injective.network\",\"publisher\":{\"@id\":\"https://docs.injective.network/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.injective.network/developers-native/query-indexer/oracle#webpage\",\"url\":\"https://docs.injective.network/developers-native/query-indexer/oracle\",\"name\":\"Oracle\",\"dateModified\":\"2026-03-31T12:24:45.000Z\",\"isPartOf\":{\"@id\":\"https://docs.injective.network#website\"},\"breadcrumb\":{\"@id\":\"https://docs.injective.network/developers-native/query-indexer/oracle#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.injective.network/developers-native/query-indexer/oracle#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"BUILD\",\"item\":\"https://docs.injective.network/build-index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Native Developers\",\"item\":\"https://docs.injective.network/developers-native\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Querying the Indexer\",\"item\":\"https://docs.injective.network/developers-native/query-indexer\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Oracle\",\"item\":\"https://docs.injective.network/developers-native/query-indexer/oracle\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.injective.network/developers-native/query-indexer/oracle#article\",\"headline\":\"Oracle\",\"name\":\"Oracle\",\"url\":\"https://docs.injective.network/developers-native/query-indexer/oracle\",\"mainEntityOfPage\":{\"@id\":\"https://docs.injective.network/developers-native/query-indexer/oracle#webpage\"},\"dateModified\":\"2026-03-31T12:24:45.000Z\",\"publisher\":{\"@id\":\"https://docs.injective.network/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.injective.network#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Injective Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Injective Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/developers-native/query-indexer/oracle.md","siteName":"Injective Docs","nav":{"global":null,"languages":[{"language":"en","footer":{"socials":{"website":"https://injective.com/","github":"https://github.com/InjectiveLabs","x":"https://x.com/injective","youtube":"https://youtube.com/@injective_","discord":"https://discord.gg/injective","telegram":"https://t.me/+8Y_0HOFLhnRlZDU9","linkedin":"https://www.linkedin.com/company/injectivelabs","reddit":"https://www.reddit.com/r/injective"},"links":[{"header":"About docs","items":[{"label":"Maintained by Injective Labs' Developer Relations Team","href":"https://injective.com/"},{"label":"Open an issue","href":"https://github.com/InjectiveLabs/injective-docs/issues"},{"label":"Submit a PR","href":"https://github.com/InjectiveLabs/injective-docs/pulls"}]},{"header":"Resources","items":[{"label":"Operator Portal","href":"https://chain.injective.network"},{"label":"Network Status","href":"https://status.injective.network"},{"label":"Blog","href":"https://injective.com/blog"},{"label":"Build","href":"https://injective.com/build"},{"label":"7 days of Injective","href":"https://youtube.com/watch?v=bE9JbFpsDFM\u0026list=PLTS_stt4XpDBGDXxrx4crxijAemFr3Mix"}]}]},"tabs":[{"tab":"Getting Started","pages":[{"title":"Getting Started","href":""}]},{"tab":"Build on Injective","pages":[{"title":"Build on Injective","href":"/developers-defi/integrator-guide"}]},{"tab":"Develop","groups":[{"group":"BUILD","pages":[{"title":"Overview","icon":"hammer","href":"/build-index"},{"group":"Developer Setup","icon":"screwdriver-wrench","pages":[{"title":"Developer Setup","sidebarTitle":"Overview","href":"/developers/setup"}]},{"group":"EVM Developers","icon":"rectangle-code","expanded":false,"pages":[{"title":"Overview","href":"/developers-evm/index"},{"title":"EVM Network Information","href":"/developers-evm/network-information"},{"title":"Local EVM Development","href":"/developers-evm/local-development"},{"group":"Your First EVM Smart Contract","pages":[{"title":"Your First EVM Smart Contract","href":"/developers-evm/smart-contracts/index"},{"title":"Set up Hardhat and compile a smart contract","href":"/developers-evm/smart-contracts/compile-hardhat"},{"title":"Test a smart contract using Hardhat","href":"/developers-evm/smart-contracts/test-hardhat"},{"title":"Deploy a smart contract using Hardhat","href":"/developers-evm/smart-contracts/deploy-hardhat"},{"title":"Verify a smart contract using Hardhat","href":"/developers-evm/smart-contracts/verify-hardhat"},{"title":"Interact with a smart contract using Hardhat","href":"/developers-evm/smart-contracts/interact-hardhat"},{"title":"Set up Foundry and compile a smart contract","href":"/developers-evm/smart-contracts/compile-foundry"},{"title":"Test a smart contract using Foundry","href":"/developers-evm/smart-contracts/test-foundry"},{"title":"Deploy a smart contract using Foundry","href":"/developers-evm/smart-contracts/deploy-foundry"},{"title":"Verify a smart contract using Foundry","href":"/developers-evm/smart-contracts/verify-foundry"},{"title":"Interact with a smart contract using Foundry","href":"/developers-evm/smart-contracts/interact-foundry"}]},{"group":"Your First EVM dApp","pages":[{"title":"Your First EVM dApp","href":"/developers-evm/dapps/index"},{"title":"Connect with MetaMask","href":"/developers-evm/dapps/connect-with-metamask"},{"title":"Connect with WalletConnect","href":"/developers-evm/dapps/connect-with-walletconnect"}]},{"title":"EVM Equivalence","href":"/developers-evm/evm-equivalence"},{"title":"MultiVM Token Standard","href":"/developers-evm/multivm-token-standard"},{"title":"Permissioned MTS Tokens","href":"/developers-evm/permissioned-multivm-token"},{"title":"Wrapped INJ (wINJ)","href":"/developers-evm/wrapped-inj"},{"title":"Precompiles","href":"/developers-evm/precompiles"},{"title":"Bank Precompile","href":"/developers-evm/bank-precompile"},{"title":"Exchange Precompile","href":"/developers-evm/exchange-precompile"},{"title":"Oracle Precompile","href":"/developers-evm/oracle-precompile"},{"title":"Swap Precompile","href":"/developers-evm/swap-precompile"},{"title":"IBC Precompile","href":"/developers-evm/ibc-precompile"},{"title":"ERC20 Module","href":"/developers-evm/erc20-module"},{"title":"Infrastructure \u0026 Tooling","href":"/developers-evm/infrastructure-and-tooling"},{"title":"EVM Gateway","href":"/developers-evm/evm-gateway"},{"title":"Alchemy RPC Setup","href":"/developers-evm/alchemy-rpc-setup"},{"title":"Add Injective to Your dApp","href":"/developers-evm/add-injective-to-your-dapp"},{"title":"EVM Integrations Cheat Sheet","href":"/developers-evm/evm-integrations-cheat-sheet"},{"title":"EVM Integrations FAQ","href":"/developers-evm/evm-integrations-faq"},{"title":"EVM Testnet Faucet","url":"https://testnet.faucet.injective.network/","href":"/redirects/https_testnet_faucet_injective_network"},{"title":"EVM Testnet Explorer","url":"https://testnet.blockscout.injective.network/blocks","href":"/redirects/https_testnet_blockscout_injective_network_blocks"}]},{"group":"dApp Developers","icon":"browser","expanded":false,"pages":[{"title":"Building dApps","href":"/developers/dapps/index"},{"title":"Configuring Nuxt","href":"/developers/dapps/configure-nuxt"},{"title":"Configuring React","href":"/developers/dapps/configure-react"},{"title":"Running examples","href":"/developers/dapps/run-examples"},{"title":"Smart Contract","href":"/developers/dapps/example-smart-contract"},{"title":"DEX","href":"/developers/dapps/example-dex"},{"title":"Simple HTML example with Webpack","href":"/developers/dapps/example-webpack"}]},{"group":"Native Developers","icon":"microchip","expanded":false,"pages":[{"title":"Overview","href":"/developers-native/index"},{"group":"Developer Setup","pages":[{"group":"Injective Node and CLI","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/developers/injectived/index"},{"title":"Install","href":"/developers/injectived/install"},{"title":"Usage","href":"/developers/injectived/use"},{"title":"Commands","href":"/developers/injectived/advanced"}]},{"title":"Run a Local Node","href":"/developers-native/developer-setup/local-network"}]},{"group":"Wallets","pages":[{"title":"Wallets","href":"/developers-native/wallets/index"},{"title":"Accounts","href":"/developers-native/wallets/accounts"},{"title":"Wallet Connections","href":"/developers-native/wallets/connections"},{"title":"Wallet Strategy","href":"/developers-native/wallets/strategy"},{"title":"Offchain (Arbitrary) Data","href":"/developers-native/wallets/offchain-data"}]},{"group":"Bridges","pages":[{"title":"Bridges","href":"/developers-native/bridges/index"},{"title":"Ethereum Bridge","href":"/developers-native/bridges/ethereum"}]},{"group":"Transactions","pages":[{"title":"Transactions","href":"/developers-native/transactions/index"},{"title":"Cosmos Transactions","href":"/developers-native/transactions/cosmos"},{"title":"Ledger through Keplr Wallet Transaction","href":"/developers-native/transactions/cosmos-ledger-keplr"},{"title":"Ethereum Transaction","href":"/developers-native/transactions/ethereum"},{"title":"Ethereum Ledger Transaction","href":"/developers-native/transactions/ethereum-ledger"},{"title":"MsgBroadcaster Transaction","href":"/developers-native/transactions/msgbroadcaster"},{"title":"Private Key Transaction","href":"/developers-native/transactions/private-key"},{"title":"Web3 Gateway Transaction","href":"/developers-native/transactions/web3-gateway"}]},{"group":"Transaction Examples","pages":[{"title":"Transaction Examples","href":"/developers-native/examples/index"},{"title":"Auction","href":"/developers-native/examples/auction"},{"title":"AuthZ","href":"/developers-native/examples/authz"},{"title":"Bank","href":"/developers-native/examples/bank"},{"title":"Distribution","href":"/developers-native/examples/distribution"},{"title":"Exchange","href":"/developers-native/examples/exchange"},{"title":"Fee Grant","href":"/developers-native/examples/feegrant"},{"title":"Governance","href":"/developers-native/examples/governance"},{"title":"IBC","href":"/developers-native/examples/ibc"},{"title":"Insurance","href":"/developers-native/examples/insurance"},{"title":"Peggy","href":"/developers-native/examples/peggy"},{"title":"Permissions","href":"/developers-native/examples/permissions"},{"title":"Staking","href":"/developers-native/examples/staking"},{"title":"Token Factory","href":"/developers-native/examples/token-factory"},{"title":"Wasm","href":"/developers-native/examples/wasm"}]},{"group":"Querying the Chain","pages":[{"title":"Querying the Chain","href":"/developers-native/query-chain/index"},{"title":"Auction","href":"/developers-native/query-chain/auction"},{"title":"Auth","href":"/developers-native/query-chain/auth"},{"title":"Bank","href":"/developers-native/query-chain/bank"},{"title":"Distribution","href":"/developers-native/query-chain/distribution"},{"title":"Exchange","href":"/developers-native/query-chain/exchange"},{"title":"Governance","href":"/developers-native/query-chain/governance"},{"title":"IBC","href":"/developers-native/query-chain/ibc"},{"title":"Mint","href":"/developers-native/query-chain/mint"},{"title":"Insurance Funds","href":"/developers-native/query-chain/insurance-funds"},{"title":"Oracle","href":"/developers-native/query-chain/oracle"},{"title":"Peggy","href":"/developers-native/query-chain/peggy"},{"title":"Permissions","href":"/developers-native/query-chain/permissions"},{"title":"Staking","href":"/developers-native/query-chain/staking"},{"title":"Tendermint","href":"/developers-native/query-chain/tendermint"},{"title":"Wasm","href":"/developers-native/query-chain/wasm"},{"title":"WasmX","href":"/developers-native/query-chain/wasmx"},{"title":"Token Factory","href":"/developers-native/query-chain/token-factory"}]},{"group":"Querying the Indexer","pages":[{"title":"Querying the Indexer","href":"/developers-native/query-indexer/index"},{"title":"Account","href":"/developers-native/query-indexer/account"},{"title":"Auction","href":"/developers-native/query-indexer/auction"},{"title":"Derivatives","href":"/developers-native/query-indexer/derivatives"},{"title":"Explorer","href":"/developers-native/query-indexer/explorer"},{"title":"Insurance Funds","href":"/developers-native/query-indexer/insurance-funds"},{"title":"Markets","href":"/developers-native/query-indexer/markets"},{"title":"Leaderboard","href":"/developers-native/query-indexer/leaderboard"},{"title":"Mito","description":null,"href":"/developers-native/query-indexer/mito"},{"title":"Oracle","href":"/developers-native/query-indexer/oracle"},{"title":"Portfolio","description":null,"href":"/developers-native/query-indexer/portfolio"},{"title":"Spot","href":"/developers-native/query-indexer/spot"},{"title":"Web3 Gateway Transactions","href":"/developers-native/query-indexer/transaction"}]},{"group":"Streaming the Indexer","pages":[{"title":"Streaming the Indexer","href":"/developers-native/query-indexer-stream/index"},{"title":"Account","href":"/developers-native/query-indexer-stream/account"},{"title":"Archiver","href":"/developers-native/query-indexer-stream/archiver"},{"title":"Auction","href":"/developers-native/query-indexer-stream/auction"},{"title":"Derivatives","href":"/developers-native/query-indexer-stream/derivatives"},{"title":"Mito","href":"/developers-native/query-indexer-stream/mito"},{"title":"Oracle","href":"/developers-native/query-indexer-stream/oracle"},{"title":"Portfolio","href":"/developers-native/query-indexer-stream/portfolio"},{"title":"Spot","href":"/developers-native/query-indexer-stream/spot"},{"title":"Trading","href":"/developers-native/query-indexer-stream/trading"},{"title":"Explorer","href":"/developers-native/query-indexer-stream/explorer"}]},{"title":"Querying GraphQL Endpoints","href":"/developers-native/query-ethereum"},{"group":"Injective Modules","pages":[{"title":"Injective","href":"/developers-native/injective/index"},{"group":"Auction","pages":[{"title":"Auction","href":"/developers-native/injective/auction/index"},{"title":"State","href":"/developers-native/injective/auction/01_state"},{"title":"Messages","href":"/developers-native/injective/auction/02_messages"},{"title":"End-Block","href":"/developers-native/injective/auction/03_end_block"},{"title":"Events","href":"/developers-native/injective/auction/04_events"},{"title":"Parameters","href":"/developers-native/injective/auction/05_params"},{"title":"Error Codes","href":"/developers-native/injective/auction/99_errors"}]},{"group":"Exchange","pages":[{"title":"Exchange","href":"/developers-native/injective/exchange/index"},{"title":"Derivative Market Concept","href":"/developers-native/injective/exchange/00_derivative_market_concepts"},{"title":"Spot Market Concepts","href":"/developers-native/injective/exchange/01_spot_market_concepts"},{"title":"Binary Options Markets","href":"/developers-native/injective/exchange/02_binary_options_markets"},{"title":"Other Concepts","href":"/developers-native/injective/exchange/02_other_concepts"},{"title":"State","href":"/developers-native/injective/exchange/03_state"},{"title":"State Transitions","href":"/developers-native/injective/exchange/04_state_transitions"},{"title":"Messages","href":"/developers-native/injective/exchange/05_messages"},{"title":"Governance Proposals","href":"/developers-native/injective/exchange/06_proposals"},{"title":"BeginBlocker","href":"/developers-native/injective/exchange/07_begin_block"},{"title":"EndBlocker","href":"/developers-native/injective/exchange/08_end_block"},{"title":"Events","href":"/developers-native/injective/exchange/09_events"},{"title":"Parameters","href":"/developers-native/injective/exchange/10_params"},{"title":"MsgPrivilegedExecuteContract","href":"/developers-native/injective/exchange/11_msg_privileged_execute_contract"},{"title":"Gas Heuristics","href":"/developers-native/injective/exchange/12_gas_heuristics"},{"title":"Error Codes","href":"/developers-native/injective/exchange/99_errors"}]},{"group":"ERC20","pages":[{"title":"ERC20","href":"/developers-native/injective/erc20/index"},{"title":"Concepts","href":"/developers-native/injective/erc20/01_concepts"},{"title":"State","href":"/developers-native/injective/erc20/02_state"},{"title":null,"href":"/developers-native/injective/erc20/03_messages"},{"title":"Events","href":"/developers-native/injective/erc20/04_events"}]},{"group":"EVM","pages":[{"title":"EVM","href":"/developers-native/injective/evm/index"},{"title":"Concepts","href":"/developers-native/injective/evm/01_concepts"},{"title":"State","href":"/developers-native/injective/evm/02_state"},{"title":"State Transitions","href":"/developers-native/injective/evm/03_state_transitions"},{"title":"Transactions","href":"/developers-native/injective/evm/04_transactions"},{"title":"Application Blockchain Interface (ABCI)","href":"/developers-native/injective/evm/05_abci"},{"title":"Hooks","href":"/developers-native/injective/evm/06_hooks"},{"title":"Events","href":"/developers-native/injective/evm/07_events"},{"title":"Parameters","href":"/developers-native/injective/evm/08_params"},{"title":"Client","href":"/developers-native/injective/evm/09_client"}]},{"group":"Insurance","pages":[{"title":"Insurance","href":"/developers-native/injective/insurance/index"},{"title":"State","href":"/developers-native/injective/insurance/01_state"},{"title":"State Transitions","href":"/developers-native/injective/insurance/02_state_transitions"},{"title":"Messages","href":"/developers-native/injective/insurance/03_messages"},{"title":"End-Block","href":"/developers-native/injective/insurance/04_end_block"},{"title":"Events","href":"/developers-native/injective/insurance/05_events"},{"title":"Parameters","href":"/developers-native/injective/insurance/06_params"},{"title":"Future Improvements","href":"/developers-native/injective/insurance/07_future_improvements"},{"title":"Error Codes","href":"/developers-native/injective/insurance/99_errors"}]},{"group":"OCR","pages":[{"title":"OCR","href":"/developers-native/injective/ocr/index"},{"title":"Concepts","href":"/developers-native/injective/ocr/01_concepts"},{"title":"State","href":"/developers-native/injective/ocr/02_state"},{"title":"Messages","href":"/developers-native/injective/ocr/03_messages"},{"title":"Governance Proposals","href":"/developers-native/injective/ocr/04_proposals"},{"title":"Begin-Block","href":"/developers-native/injective/ocr/05_begin_block"},{"title":null,"href":"/developers-native/injective/ocr/06_hooks"},{"title":"Events","href":"/developers-native/injective/ocr/07_events"},{"title":"Params","href":"/developers-native/injective/ocr/08_params"},{"title":"Error Codes","href":"/developers-native/injective/ocr/99_errors"}]},{"group":"Oracle","pages":[{"title":"Oracle","href":"/developers-native/injective/oracle/index"},{"title":"State","href":"/developers-native/injective/oracle/01_state"},{"title":"Keepers","href":"/developers-native/injective/oracle/02_keeper"},{"title":"Messages","href":"/developers-native/injective/oracle/03_messages"},{"title":"Governance Proposals","href":"/developers-native/injective/oracle/04_proposals"},{"title":"Events","href":"/developers-native/injective/oracle/05_events"},{"title":"Future Improvements","href":"/developers-native/injective/oracle/06_future_improvements"},{"title":"Error Codes","href":"/developers-native/injective/oracle/99_errors"}]},{"group":"Peggy","pages":[{"title":"Peggy","href":"/developers-native/injective/peggy/index"},{"title":"Definitions","href":"/developers-native/injective/peggy/01_definitions"},{"title":"Workflow","href":"/developers-native/injective/peggy/02_workflow"},{"title":"State","href":"/developers-native/injective/peggy/03_state"},{"title":"Messages","href":"/developers-native/injective/peggy/04_messages"},{"title":"Slashing","href":"/developers-native/injective/peggy/05_slashing"},{"title":"End-Block","href":"/developers-native/injective/peggy/06_end_block"},{"title":"Events","href":"/developers-native/injective/peggy/07_events"},{"title":"Parameters","href":"/developers-native/injective/peggy/08_params"},{"title":"Relay Semantics","href":"/developers-native/injective/peggy/09_relay_semantics"},{"title":"Future Improvements","href":"/developers-native/injective/peggy/10_future_improvements"},{"title":"Error Codes","href":"/developers-native/injective/peggy/99_errors"}]},{"group":"Permissions","pages":[{"title":"Permissions","href":"/developers-native/injective/permissions/index"},{"title":"Key Concepts","href":"/developers-native/injective/permissions/01_concepts"},{"title":"State","href":"/developers-native/injective/permissions/02_state"},{"title":"State Transitions","href":"/developers-native/injective/permissions/03_state_transitions"},{"title":"How to Launch Permissioned Assets","href":"/developers-native/injective/permissions/04_launch_permissioned_asset"},{"title":"Error Codes","href":"/developers-native/injective/permissions/99_errors"}]},{"group":"TokenFactory","pages":[{"title":"TokenFactory","href":"/developers-native/injective/tokenfactory/index"},{"title":"Concepts","href":"/developers-native/injective/tokenfactory/01_concepts"},{"title":"State","href":"/developers-native/injective/tokenfactory/02_state"},{"title":null,"href":"/developers-native/injective/tokenfactory/03_messages"},{"title":"Events","href":"/developers-native/injective/tokenfactory/04_events"},{"title":"Params","href":"/developers-native/injective/tokenfactory/05_params"},{"title":"Error Codes","href":"/developers-native/injective/tokenfactory/99_errors"}]},{"group":"WasmX","pages":[{"title":"Wasmx","href":"/developers-native/injective/wasmx/index"},{"title":"Concepts","href":"/developers-native/injective/wasmx/01_concepts"},{"title":"Data","href":"/developers-native/injective/wasmx/02_data"},{"title":"Governance Proposals","href":"/developers-native/injective/wasmx/03_proposals"},{"title":"Messages","href":"/developers-native/injective/wasmx/04_messages"},{"title":"Params","href":"/developers-native/injective/wasmx/05_params"},{"title":"Error Codes","href":"/developers-native/injective/wasmx/99_errors"}]},{"title":"Lanes","href":"/developers-native/injective/lanes"},{"title":"Txfees","href":"/developers-native/injective/txfees"}]},{"group":"Core Modules","pages":[{"title":"Core","href":"/developers-native/core/index"},{"title":"Auth","href":"/developers-native/core/auth"},{"title":"Authz","href":"/developers-native/core/authz"},{"title":"Bank","href":"/developers-native/core/bank"},{"title":"Consensus","href":"/developers-native/core/consensus"},{"title":"Crisis","href":"/developers-native/core/crisis"},{"title":"Distribution","href":"/developers-native/core/distribution"},{"title":"Evidence","href":"/developers-native/core/evidence"},{"title":"Feegrant","href":"/developers-native/core/feegrant"},{"title":"Gov","href":"/developers-native/core/gov"},{"title":"Group","href":"/developers-native/core/group"},{"title":"Mint","href":"/developers-native/core/mint"},{"title":"Nft","href":"/developers-native/core/nft"},{"title":"Params","href":"/developers-native/core/params"},{"title":"Slashing","href":"/developers-native/core/slashing"},{"title":"Staking","href":"/developers-native/core/staking"},{"title":"Upgrade","href":"/developers-native/core/upgrade"},{"title":"Circuit","href":"/developers-native/core/circuit"},{"title":"Genutil","href":"/developers-native/core/genutil"}]}]},{"group":"CosmWasm Developers","icon":"comet","expanded":false,"pages":[{"title":"Overview","href":"/developers-cosmwasm/index"},{"group":"CosmWasm Smart Contracts","pages":[{"title":"CosmWasm Smart Contracts","href":"/developers-cosmwasm/smart-contracts/index"},{"title":"Your First CosmWasm Smart Contract","href":"/developers-cosmwasm/smart-contracts/your-first-smart-contract"},{"title":"Injective Name Service","href":"/developers-cosmwasm/smart-contracts/injective-name-service"},{"title":"NeptuneService","href":"/developers-cosmwasm/smart-contracts/neptune-service"},{"title":"CW20 to Bank \u0026 Market Order in One Transaction","href":"/developers-cosmwasm/smart-contracts/cw20-convert-market-order"}]},{"title":"Local Development","href":"/developers-cosmwasm/local-development-guide"},{"title":"Mainnet Deployment","href":"/developers-cosmwasm/mainnet-deployment-guide"},{"title":"Whitelisting deployment address","href":"/developers-cosmwasm/whitelisting-deployment-address-guide"},{"title":"Create your Swap Contract","href":"/developers-cosmwasm/create-your-swap-contract-guide"},{"title":"Creating UIs","href":"/developers-cosmwasm/create-uis-guide"},{"title":"Using Injective Modules and Queries in CosmWasm","href":"/developers-cosmwasm/cosmwasm-any"},{"title":"CW20 Adapter","href":"/developers-cosmwasm/cw20-adapter"},{"title":"Injective Test Tube","href":"/developers-cosmwasm/injective-test-tube"}]},{"group":"AI Developers","icon":"brain","expanded":false,"pages":[{"title":"AI developers","href":"/developers-ai/index"},{"title":"AI SDK","href":"/developers-ai/ai-sdk"},{"title":"Injective CLI Agent Skill","href":"/developers-ai/injective-cli-skill"},{"title":"Injective EVM Developer Agent Skill","href":"/developers-ai/injective-evm-developer-skill"},{"title":"Injective MCP Servers Skill","href":"/developers-ai/injective-mcp-servers-skill"},{"title":"Injective Trading Skills","href":"/developers-ai/injective-trading-skills"},{"title":"Injective Documentation MCP Server","href":"/developers-ai/documentation-mcp"},{"title":"Injective MCP Server","href":"/developers-ai/mcp"},{"title":"x402","href":"/developers-ai/x402"}]}]}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks-index"}]},{"tab":"Testnet","pages":[{"title":"Testnet","href":"/testnet"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/resources-index"}]}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/cn/developers-native/query-indexer/oracle"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/developers-native/query-indexer/oracle"}]},{"language":"jp","pages":[{"title":"jp","href":"/jp/developers-native/query-indexer/oracle"}]}]},"basePath":"","title":"Oracle - Injective Docs","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":[],"chunks":[]}