{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Gains Network","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/gains/FCyVOdVfN-_VqQ5X/logo/gains.png?fit=max\u0026auto=format\u0026n=FCyVOdVfN-_VqQ5X\u0026q=85\u0026s=576fad34f2d6042b81905e874db68f39","dark":"https://mintcdn.com/gains/FCyVOdVfN-_VqQ5X/logo/gains.png?fit=max\u0026auto=format\u0026n=FCyVOdVfN-_VqQ5X\u0026q=85\u0026s=576fad34f2d6042b81905e874db68f39"},"favicon":"https://mintcdn.com/gains/IoupFIThDEsTzJuI/favicon.png?fit=max\u0026auto=format\u0026n=IoupFIThDEsTzJuI\u0026q=85\u0026s=03b08ffe521c388d78506bdb3a3ed215","navbar":{"primary":{"type":"button","label":"Start Trading","href":"https://gains.trade/trading"}},"footer":{"socials":{"x":"https://x.com/gains_trade","github":"https://github.com/GainsNetwork","telegram":"https://t.me/GainsNetwork","discord":"https://discord.gg/CZzb5XQpYQ"}},"seo":{"metatags":{"og:image":"/images/og-image.png","twitter:image":"/images/og-image.png","twitter:card":"summary_large_image"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gains","hasAudioNarration":false,"actualSubdomain":"gains","customDomains":["docs.gains.trade"],"gitSource":{"type":"github","owner":"gainsnetwork-org","repo":"gains-misc-monorepo","deployBranch":"main","contentDirectory":"docs/mintlify-docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"collectionId":"8622f6b2-e0a6-4836-8099-a2f450b43408","liveDeploymentHistoryId":"6ae3bde3cc4c151649ace2cb","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae3bde3cc4c151649ace2cb"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae3bde3cc4c151649ace2cb","clientVersion":"0.0.4039","searchFilterCounts":[{"language":"default","tag":"Developers","count":243},{"language":"default","tag":"Technical Reference","count":114},{"language":"default","tag":"Contracts","count":111},{"language":"default","tag":"API Reference","count":74},{"language":"default","tag":"Interfaces","count":50},{"language":"default","tag":"Libraries","count":40},{"language":"default","tag":"Trading API","count":37},{"language":"default","tag":"Reference","count":28},{"language":"default","tag":"Traders","count":27},{"language":"default","tag":"Trading Interface","count":20}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@media (max-width:1023px){#navbar>div.absolute{background-color:rgb(var(--background-light))!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important;transition:none!important}.dark #navbar>div.absolute,html.dark #navbar>div.absolute{background-color:rgb(var(--background-dark))!important}}"}],"page":{"pagePath":"api-reference/markets/get-one-market","slug":"/api-reference/markets/get-one-market","pageMetadata":{"title":"Get one market","description":null,"deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/markets/{symbol}","href":"/api-reference/markets/get-one-market","autogeneratedByOpenApi":true},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get one market","description":null,"deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/markets/{symbol}","href":"/api-reference/markets/get-one-market","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getMarket","tags":["Markets"],"summary":"Get one market","parameters":["b6b75de7-7a03-467a-a8d5-41b5d5a0c06b","a3343f5a-f2a9-4cf5-8c6c-85fde846abf7"],"responses":{"200":"835c8e26-be3a-48c3-9df0-fb649e14ef9c","404":"1f203b64-1e95-4bad-ac3e-e5c0d2c066ac","503":"9196173f-2058-4f50-ade8-06fde4cb5032"},"method":"get","type":"path","servers":["0ded9a42-2f7a-45a6-9f65-c6721c6ef210"],"security":[],"path":"/v1/{chain}/markets/{symbol}","baseUrlOptions":["https://api.gains.trade"],"title":"Get one market","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"b6b75de7-7a03-467a-a8d5-41b5d5a0c06b":{"schema":{"type":"string","enum":["arbitrum","base","polygon","megaeth","arbitrum-sepolia"],"example":"arbitrum","isRequired":true,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":true,"name":"chain","in":"path"},"a3343f5a-f2a9-4cf5-8c6c-85fde846abf7":{"schema":{"type":"string","example":"BTC-USD","description":"Market symbol. `BTC-USD` and `BTC%2FUSD` are both accepted.","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"Market symbol. `BTC-USD` and `BTC%2FUSD` are both accepted.","name":"symbol","in":"path"}},"responses":{"835c8e26-be3a-48c3-9df0-fb649e14ef9c":{"description":"The market","content":{"application/json":{"schema":{"type":"object","properties":{"symbol":{"type":"string","pattern":"^[A-Z0-9.]{1,15}\\/[A-Z0-9]{1,10}$","example":"BTC/USD","description":"Gains market symbol, `\u003cbase>/\u003cquote>`.","isRequired":true,"uniqueKey":"symbol","typeLabel":"string"},"pairIndex":{"type":"integer","example":0,"description":"On-chain pair index. Equals the Hyperliquid asset id on the facade.","isRequired":true,"uniqueKey":"pairIndex","typeLabel":"integer"},"base":{"type":"string","example":"BTC","isRequired":true,"uniqueKey":"base","typeLabel":"string"},"quote":{"type":"string","example":"USD","isRequired":true,"uniqueKey":"quote","typeLabel":"string"},"group":{"type":"string","enum":["crypto","forex","stocks","indices","commodities"],"isRequired":true,"uniqueKey":"group","typeLabel":"enum\u003cstring>"},"groupIndex":{"type":"integer","isRequired":true,"uniqueKey":"groupIndex","typeLabel":"integer"},"feeIndex":{"type":"integer","isRequired":true,"uniqueKey":"feeIndex","typeLabel":"integer"},"isOpen":{"type":"boolean","isRequired":true,"uniqueKey":"isOpen","typeLabel":"boolean"},"minLeverage":{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.5","description":"Decimal number encoded as a string to preserve precision.","isRequired":true,"uniqueKey":"minLeverage","typeLabel":"string"},"maxLeverage":{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.5","description":"Decimal number encoded as a string to preserve precision.","isRequired":true,"uniqueKey":"maxLeverage","typeLabel":"string"},"minCollateralUsd":{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.50000125","description":"Smallest collateral a new position accepts, in USD: five times the minimum fee (minPositionSizeUsd × openFeeRate).","isRequired":true,"uniqueKey":"minCollateralUsd","typeLabel":"string"},"minPositionUsd":{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.550001375","description":"minCollateralUsd × minLeverage, in USD. The API rejects orders whose notional is below it (SIZE_BELOW_MINIMUM); it is not a separate on-chain check.","isRequired":true,"uniqueKey":"minPositionUsd","typeLabel":"string"},"pricePrecision":{"type":"integer","description":"Maximum decimals accepted for prices on this market.","isRequired":true,"uniqueKey":"pricePrecision","typeLabel":"integer"},"sizePrecision":{"type":"integer","description":"Maximum decimals accepted for sizes on this market.","isRequired":true,"uniqueKey":"sizePrecision","typeLabel":"integer"},"spreadRate":{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.0001","description":"Fixed spread as a fraction of price (0.0004 = 0.04%). Half of it is charged on each fill, on open and on close; price impact comes on top.","isRequired":true,"uniqueKey":"spreadRate","typeLabel":"string"},"fees":{"type":"object","properties":{"openFeeRate":{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.00035","description":"Opening fee as a fraction of position size (0.00035 = 0.035%), before fee-tier or referral discounts.","isRequired":true,"uniqueKey":"fees.openFeeRate","typeLabel":"string"},"closeFeeRate":{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.00035","description":"Closing fee as a fraction of position size, before fee-tier or referral discounts. On pairs with a close fee decay configured, a position closed soon after opening can pay a different rate.","isRequired":true,"uniqueKey":"fees.closeFeeRate","typeLabel":"string"},"minPositionSizeUsd":{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"285.715","description":"Position size, in USD, below which a fee is charged as if the position were this large. The minimum fee per open or close is minPositionSizeUsd × fee rate. Not a minimum trade size.","isRequired":true,"uniqueKey":"fees.minPositionSizeUsd","typeLabel":"string"}},"required":["openFeeRate","closeFeeRate","minPositionSizeUsd"],"isRequired":true,"uniqueKey":"fees","typeLabel":"object"},"funding":{"type":"object","properties":{"fundingRateLongHourly":{"oneOf":[{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.0000106837","description":"Funding paid by longs per hour, as a fraction of position size (0.00001 = 0.001% per hour). Negative means longs receive.","isRequired":true,"uniqueKey":"funding.fundingRateLongHourly.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.0000106837","description":"Funding paid by longs per hour, as a fraction of position size (0.00001 = 0.001% per hour). Negative means longs receive.","isRequired":true,"uniqueKey":"funding.fundingRateLongHourly.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"funding.fundingRateLongHourly","typeLabel":"string | null"},"fundingRateShortHourly":{"oneOf":[{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"-0.0000038762","description":"Funding paid by shorts per hour, as a fraction of position size. Negative means shorts receive.","isRequired":true,"uniqueKey":"funding.fundingRateShortHourly.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"-0.0000038762","description":"Funding paid by shorts per hour, as a fraction of position size. Negative means shorts receive.","isRequired":true,"uniqueKey":"funding.fundingRateShortHourly.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"funding.fundingRateShortHourly","typeLabel":"string | null"},"borrowingRateHourly":{"oneOf":[{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.0000022824","description":"Borrowing fee paid by both sides per hour, as a fraction of position size.","isRequired":true,"uniqueKey":"funding.borrowingRateHourly.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.0000022824","description":"Borrowing fee paid by both sides per hour, as a fraction of position size.","isRequired":true,"uniqueKey":"funding.borrowingRateHourly.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"funding.borrowingRateHourly","typeLabel":"string | null"},"openInterestLongUsd":{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.5","description":"Decimal number encoded as a string to preserve precision.","isRequired":true,"uniqueKey":"funding.openInterestLongUsd","typeLabel":"string"},"openInterestShortUsd":{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.5","description":"Decimal number encoded as a string to preserve precision.","isRequired":true,"uniqueKey":"funding.openInterestShortUsd","typeLabel":"string"},"skewUsd":{"type":"string","pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$","example":"0.5","description":"Decimal number encoded as a string to preserve precision.","isRequired":true,"uniqueKey":"funding.skewUsd","typeLabel":"string"}},"required":["fundingRateLongHourly","fundingRateShortHourly","borrowingRateHourly","openInterestLongUsd","openInterestShortUsd","skewUsd"],"isRequired":true,"uniqueKey":"funding","typeLabel":"object"},"onlyIsolated":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"onlyIsolated","typeLabel":"enum\u003cboolean>"},"collaterals":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string","example":"USDC","isRequired":true,"uniqueKey":"collaterals.items.[INDEX].symbol","typeLabel":"string"},"index":{"type":"integer","isRequired":true,"uniqueKey":"collaterals.items.[INDEX].index","typeLabel":"integer"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","example":"0x73b3A111C5BCCf9086c97B96e0AbAad69Dc4f523","isRequired":true,"uniqueKey":"collaterals.items.[INDEX].address","typeLabel":"string"},"decimals":{"type":"integer","isRequired":true,"uniqueKey":"collaterals.items.[INDEX].decimals","typeLabel":"integer"}},"required":["symbol","index","address","decimals"],"uniqueKey":"collaterals.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"collaterals","typeLabel":"object[]"}},"required":["symbol","pairIndex","base","quote","group","groupIndex","feeIndex","isOpen","minLeverage","maxLeverage","minCollateralUsd","minPositionUsd","pricePrecision","sizePrecision","spreadRate","fees","funding","onlyIsolated","collaterals"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"symbol":"BTC/USD","pairIndex":0,"base":"BTC","quote":"USD","group":"crypto","groupIndex":123,"feeIndex":123,"isOpen":true,"minLeverage":"0.5","maxLeverage":"0.5","minCollateralUsd":"0.50000125","minPositionUsd":"0.550001375","pricePrecision":123,"sizePrecision":123,"spreadRate":"0.0001","fees":{"openFeeRate":"0.00035","closeFeeRate":"0.00035","minPositionSizeUsd":"285.715"},"funding":{"fundingRateLongHourly":"0.0000106837","fundingRateShortHourly":"-0.0000038762","borrowingRateHourly":"0.0000022824","openInterestLongUsd":"0.5","openInterestShortUsd":"0.5","skewUsd":"0.5"},"onlyIsolated":true,"collaterals":[{"symbol":"USDC","index":123,"address":"0x73b3A111C5BCCf9086c97B96e0AbAad69Dc4f523","decimals":123}]}}},"exampleType":"generated"}},"exampleType":"generated"},"1f203b64-1e95-4bad-ac3e-e5c0d2c066ac":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_ERROR","UNAUTHENTICATED","INVALID_SIGNATURE","TIMESTAMP_OUT_OF_WINDOW","NONCE_REUSED","AGENT_UNKNOWN","API_KEY_UNKNOWN","AGENT_NOT_DELEGATED","AGENT_EXPIRED","AGENT_REVOKED","SCOPE_READ_ONLY","SCOPE_MARKET_NOT_ALLOWED","SCOPE_LEVERAGE_EXCEEDED","SCOPE_SPEND_CAP_EXCEEDED","TRADER_MISMATCH","TRADER_NOT_IN_BETA","CHAIN_NOT_FOUND","CHAIN_READ_ONLY","MARKET_NOT_FOUND","ORDER_NOT_FOUND","POSITION_NOT_FOUND","AGENT_NOT_FOUND","IDEMPOTENCY_CONFLICT","ORDER_NOT_MODIFIABLE","PRECISION_ERROR","LEVERAGE_OUT_OF_RANGE","SIZE_BELOW_MINIMUM","MARKET_CLOSED","COLLATERAL_NOT_SUPPORTED","SIMULATION_REVERTED","SUBMISSION_MISMATCH","UNSUPPORTED","RATE_LIMITED","INTERNAL","UPSTREAM_UNAVAILABLE","NOT_FOUND","NOT_READY","TOO_MANY_PREPARED_ORDERS"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"details.additionalProperties","typeLabel":"any"},"uniqueKey":"details","typeLabel":"object"}},"required":["code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"VALIDATION_ERROR","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"9196173f-2058-4f50-ade8-06fde4cb5032":{"description":"Service not ready","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_ERROR","UNAUTHENTICATED","INVALID_SIGNATURE","TIMESTAMP_OUT_OF_WINDOW","NONCE_REUSED","AGENT_UNKNOWN","API_KEY_UNKNOWN","AGENT_NOT_DELEGATED","AGENT_EXPIRED","AGENT_REVOKED","SCOPE_READ_ONLY","SCOPE_MARKET_NOT_ALLOWED","SCOPE_LEVERAGE_EXCEEDED","SCOPE_SPEND_CAP_EXCEEDED","TRADER_MISMATCH","TRADER_NOT_IN_BETA","CHAIN_NOT_FOUND","CHAIN_READ_ONLY","MARKET_NOT_FOUND","ORDER_NOT_FOUND","POSITION_NOT_FOUND","AGENT_NOT_FOUND","IDEMPOTENCY_CONFLICT","ORDER_NOT_MODIFIABLE","PRECISION_ERROR","LEVERAGE_OUT_OF_RANGE","SIZE_BELOW_MINIMUM","MARKET_CLOSED","COLLATERAL_NOT_SUPPORTED","SIMULATION_REVERTED","SUBMISSION_MISMATCH","UNSUPPORTED","RATE_LIMITED","INTERNAL","UPSTREAM_UNAVAILABLE","NOT_FOUND","NOT_READY","TOO_MANY_PREPARED_ORDERS"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"details.additionalProperties","typeLabel":"any"},"uniqueKey":"details","typeLabel":"object"}},"required":["code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"VALIDATION_ERROR","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"0ded9a42-2f7a-45a6-9f65-c6721c6ef210":{"url":"https://api.gains.trade"}}},"originalFileLocation":"developer/trading-api/openapi.json"},"subdomain":"gains","siteName":"Gains Network","title":"Get one market - Gains Network","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-29T21:43:20.193Z","originalFileLocation":"api-reference/markets/get-one-market.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=\"application-name\" content=\"Gains Network\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gains/jCqANtqofKPj1YVA/_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/gains/jCqANtqofKPj1YVA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gains/jCqANtqofKPj1YVA/_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/gains/jCqANtqofKPj1YVA/_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/gains/jCqANtqofKPj1YVA/_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/gains/jCqANtqofKPj1YVA/_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/gains/jCqANtqofKPj1YVA/_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/gains/jCqANtqofKPj1YVA/_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/gains/jCqANtqofKPj1YVA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get one market - Gains Network\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Gains Network\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gains.trade/api-reference/markets/get-one-market\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gains.mintlify.app/images/og-image.png\">\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=\"Get one market - Gains Network\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gains.mintlify.app/images/og-image.png\">\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/gains/jCqANtqofKPj1YVA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Gains Network\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gains.trade/api-reference/markets/get-one-market\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/markets/get-one-market.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gains.trade/#organization\",\"name\":\"Gains Network\",\"url\":\"https://docs.gains.trade\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gains/FCyVOdVfN-_VqQ5X/logo/gains.png?fit=max\u0026auto=format\u0026n=FCyVOdVfN-_VqQ5X\u0026q=85\u0026s=576fad34f2d6042b81905e874db68f39\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gains.trade#website\",\"name\":\"Gains Network\",\"url\":\"https://docs.gains.trade\",\"publisher\":{\"@id\":\"https://docs.gains.trade/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gains.trade/api-reference/markets/get-one-market#webpage\",\"url\":\"https://docs.gains.trade/api-reference/markets/get-one-market\",\"name\":\"Get one market\",\"dateModified\":\"2026-10-29T21:43:20.193Z\",\"isPartOf\":{\"@id\":\"https://docs.gains.trade#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gains.trade/api-reference/markets/get-one-market#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gains.trade/api-reference/markets/get-one-market#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trading API\",\"item\":\"https://docs.gains.trade/developer/trading-api/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Reference\",\"item\":\"https://docs.gains.trade/api-reference/system/liveness\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Markets\",\"item\":\"https://docs.gains.trade/api-reference/markets/list-markets\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Get one market\",\"item\":\"https://docs.gains.trade/api-reference/markets/get-one-market\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gains.trade/api-reference/markets/get-one-market#apireference\",\"headline\":\"Get one market\",\"name\":\"Get one market\",\"url\":\"https://docs.gains.trade/api-reference/markets/get-one-market\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gains.trade/api-reference/markets/get-one-market#webpage\"},\"image\":\"https://docs.gains.trade/images/og-image.png\",\"dateModified\":\"2026-10-29T21:43:20.193Z\",\"publisher\":{\"@id\":\"https://docs.gains.trade/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gains.trade#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Gains Network\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Gains Network","nav":{"global":null,"tabs":[{"tab":"Traders","pages":[{"title":"Traders","href":""}]},{"tab":"Developers","groups":[{"group":"Trading API","icon":"bolt","tag":"Beta","pages":[{"title":"Trading API","href":"/developer/trading-api/overview"},{"title":"Quickstart","href":"/developer/trading-api/quickstart"},{"title":"Authentication","href":"/developer/trading-api/authentication"},{"title":"Orders and positions","href":"/developer/trading-api/orders"},{"title":"Market data","href":"/developer/trading-api/market-data"},{"title":"WebSocket","href":"/developer/trading-api/websocket"},{"title":"Errors and limits","href":"/developer/trading-api/errors"},{"title":"SDKs","href":"/developer/trading-api/sdks"},{"title":"Hyperliquid compatibility","href":"/developer/trading-api/hyperliquid-compatibility"},{"group":"Reference","pages":[{"group":"System","pages":[{"title":"Liveness","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /health","href":"/api-reference/system/liveness"},{"title":"Readiness per chain","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /ready","href":"/api-reference/system/readiness-per-chain"},{"title":"Chain identity and signing domain","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}","href":"/api-reference/system/chain-identity-and-signing-domain"}]},{"group":"Markets","pages":[{"title":"List markets","description":null,"deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/markets","href":"/api-reference/markets/list-markets"},{"title":"Get one market","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/markets/{symbol}","href":"/api-reference/markets/get-one-market"},{"title":"Virtual order book","description":"Gains has no resting order book. Levels are derived from the on-chain depth bands: the size at each level is the liquidity available at that price impact.","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/markets/{symbol}/book","href":"/api-reference/markets/virtual-order-book"},{"title":"Historical candles","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/markets/{symbol}/candles","href":"/api-reference/markets/historical-candles"},{"title":"Recent executed trades","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/markets/{symbol}/trades","href":"/api-reference/markets/recent-executed-trades"},{"title":"Current funding and borrowing rates","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/markets/{symbol}/funding","href":"/api-reference/markets/current-funding-and-borrowing-rates"},{"title":"Mark and index price of every market","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/prices","href":"/api-reference/markets/mark-and-index-price-of-every-market"}]},{"group":"Account","pages":[{"title":"Balances, fee tier and agents","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/account/{address}","href":"/api-reference/account/balances-fee-tier-and-agents"},{"title":"Open positions","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/account/{address}/positions","href":"/api-reference/account/open-positions"},{"title":"Open orders","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/account/{address}/orders","href":"/api-reference/account/open-orders"},{"title":"Orders placed through the API, newest first","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/account/{address}/orders/history","href":"/api-reference/account/orders-placed-through-the-api-newest-first"},{"title":"Fill history","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/account/{address}/fills","href":"/api-reference/account/fill-history"}]},{"group":"Orders","pages":[{"title":"Order lifecycle status","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/orders/{id}","href":"/api-reference/orders/order-lifecycle-status"},{"title":"Cancel a resting order, or reclaim a timed-out market request","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json delete /v1/{chain}/orders/{id}","href":"/api-reference/orders/cancel-a-resting-order-or-reclaim-a-timed-out-market-request"},{"title":"Update a resting limit or stop order","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json patch /v1/{chain}/orders/{id}","href":"/api-reference/orders/update-a-resting-limit-or-stop-order"},{"title":"Place an order","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json post /v1/{chain}/orders","href":"/api-reference/orders/place-an-order"},{"title":"Report the broadcast transaction of a prepared order","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json post /v1/{chain}/orders/{id}/submit","href":"/api-reference/orders/report-the-broadcast-transaction-of-a-prepared-order"}]},{"group":"Positions","pages":[{"title":"Close a position at market","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json post /v1/{chain}/positions/{id}/close","href":"/api-reference/positions/close-a-position-at-market"},{"title":"Update stop loss, take profit, leverage or collateral","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json patch /v1/{chain}/positions/{id}","href":"/api-reference/positions/update-stop-loss-take-profit-leverage-or-collateral"}]},{"group":"Agents","pages":[{"title":"Authorise an agent","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json post /v1/{chain}/agents","href":"/api-reference/agents/authorise-an-agent"},{"title":"Agent status and delegation transaction","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json get /v1/{chain}/agents/{address}","href":"/api-reference/agents/agent-status-and-delegation-transaction"},{"title":"Revoke an agent","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json delete /v1/{chain}/agents/{address}","href":"/api-reference/agents/revoke-an-agent"},{"title":"Issue a read-only API key","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json post /v1/{chain}/api-keys","href":"/api-reference/agents/issue-a-read-only-api-key"}]},{"group":"Hyperliquid compatibility","pages":[{"title":"Hyperliquid-shaped /info","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json post /hl/{chain}/info","href":"/api-reference/hyperliquid-compatibility/hyperliquid-shaped-info"},{"title":"Hyperliquid-shaped /exchange","deprecated":null,"version":null,"openapi":"/developer/trading-api/openapi.json post /hl/{chain}/exchange","href":"/api-reference/hyperliquid-compatibility/hyperliquid-shaped-exchange"}]}]}]},{"group":"API Reference","icon":"server","pages":[{"title":"Backend API Reference","href":"/developer/api-reference/introduction"},{"group":"Global","pages":[{"title":"Health Check","openapi":"get /health","href":"/developer/api-reference/endpoint/health"},{"title":"Get Chain Stats","openapi":"get /api/stats","href":"/developer/api-reference/endpoint/stats"},{"title":"Get APR Info","openapi":"get /api/apr","href":"/developer/api-reference/endpoint/apr"},{"title":"Get GNS Total Supply","openapi":"get /api/total-supply","href":"/developer/api-reference/endpoint/total-supply"}]},{"group":"Trading Data","pages":[{"title":"Get Trading History Window","openapi":"get /api/trading-history/{window}","href":"/developer/api-reference/endpoint/trading-history"},{"title":"Get Trading History Stats","openapi":"get /api/trading-history/{window}/stats","href":"/developer/api-reference/endpoint/trading-history-stats"},{"title":"Get Wallet Trading Stats","openapi":"get /api/personal-trading-history/{address}/stats","href":"/developer/api-reference/endpoint/personal-trading-stats"},{"title":"Get Batch Wallet Trading Stats","openapi":"post /api/personal-trading-history/stats","href":"/developer/api-reference/endpoint/batch-personal-trading-stats"},{"title":"Get Wallet Trading History","openapi":"get /api/personal-trading-history/{address}","href":"/developer/api-reference/endpoint/personal-trading-history"},{"title":"Get Batch Wallet Trading History","openapi":"post /api/personal-trading-history/batch","href":"/developer/api-reference/endpoint/batch-personal-trading-history"},{"title":"Get Trader Leaderboard","openapi":"get /api/leaderboard/{period}","href":"/developer/api-reference/endpoint/leaderboard"},{"title":"Get Holding Rates","openapi":"get /api/holding-rates/{collateralIndex}/{pairIndex}","href":"/developer/api-reference/endpoint/holding-rates"}]},{"group":"Contests","pages":[{"title":"List Contests","openapi":"get /api/contests","href":"/developer/api-reference/endpoint/contests"},{"title":"Get Contest Details","openapi":"get /api/contests/{id}","href":"/developer/api-reference/endpoint/contest-details"},{"title":"Get Contest Leaderboard","openapi":"get /api/contests/{id}/leaderboard","href":"/developer/api-reference/endpoint/contest-leaderboard"},{"title":"Get Contest Trader Stats","openapi":"get /api/contests/{id}/leaderboard/{trader}","href":"/developer/api-reference/endpoint/contest-trader-stats"}]},{"group":"Dapp","pages":[{"title":"Get Latest Dapp Version","openapi":"get /api/dapp/latest","href":"/developer/api-reference/endpoint/latest-dapp"},{"title":"Get Latest Dapp Version By Mode","openapi":"get /api/dapp/latest/{mode}","href":"/developer/api-reference/endpoint/latest-dapp-by-mode"},{"title":"Get Wallet Associations","openapi":"get /api/dapp/wallet/associated/{address}","href":"/developer/api-reference/endpoint/wallet-associations"},{"title":"Associate Wallet","openapi":"post /api/dapp/wallet/associate","href":"/developer/api-reference/endpoint/associate-wallet"},{"title":"Get Circle Messages","openapi":"get /api/dapp/circle/messages/{domainId}/{txHash}","href":"/developer/api-reference/endpoint/circle-messages"},{"title":"Get Solana Token Balance","openapi":"get /api/dapp/solana/usdc-balance/{address}","href":"/developer/api-reference/endpoint/solana-usdc-balance"},{"title":"Create Transak Widget URL","openapi":"post /api/dapp/transak/widget-url","href":"/developer/api-reference/endpoint/transak-widget-url"}]},{"group":"Bridge","pages":[{"title":"Create Bridge Flow","openapi":"post /api/dapp/bridge/flows","href":"/developer/api-reference/endpoint/create-bridge-flow"},{"title":"Get Bridge Flows By Address","openapi":"get /api/dapp/bridge/flows/{address}","href":"/developer/api-reference/endpoint/bridge-flows-by-address"},{"title":"Get Pending Bridge Flows","openapi":"get /api/dapp/bridge/flows/pending/{address}","href":"/developer/api-reference/endpoint/pending-bridge-flows"},{"title":"Get Bridge Flow By Hash","openapi":"get /api/dapp/bridge/flows/hash/{srcHash}","href":"/developer/api-reference/endpoint/bridge-flow-by-hash"},{"title":"Update Bridge Flow","openapi":"put /api/dapp/bridge/flows/{srcHash}","href":"/developer/api-reference/endpoint/update-bridge-flow"},{"title":"Finalize Bridge Flow","openapi":"patch /api/dapp/bridge/flows/finalize","href":"/developer/api-reference/endpoint/finalize-bridge-flow"},{"title":"Delete Bridge Flow","openapi":"delete /api/dapp/bridge/flows/{srcHash}","href":"/developer/api-reference/endpoint/delete-bridge-flow"}]},{"group":"Campaigns","pages":[{"title":"Check Campaign Eligibility","openapi":"get /api/campaigns/eligibility/{address}","href":"/developer/api-reference/endpoint/campaign-eligibility"},{"title":"Check Campaign Eligibility By ID","openapi":"get /api/campaigns/{campaignId}/eligibility/{address}","href":"/developer/api-reference/endpoint/campaign-eligibility-by-id"},{"title":"Check Solana Campaign Eligibility","openapi":"get /api/campaigns/eligibility/solana/{address}","href":"/developer/api-reference/endpoint/solana-campaign-eligibility"},{"title":"Check Solana Campaign Eligibility By ID","openapi":"get /api/campaigns/{campaignId}/eligibility/solana/{address}","href":"/developer/api-reference/endpoint/solana-campaign-eligibility-by-id"}]},{"group":"User Messaging","pages":[{"title":"Get VIP Status","openapi":"get /api/vip/{address}","href":"/developer/api-reference/endpoint/vip-status"},{"title":"Acknowledge VIP Status","openapi":"post /api/vip/{address}/ack","href":"/developer/api-reference/endpoint/ack-vip-status"},{"title":"Get Notifications","openapi":"get /api/notifications/{address}","href":"/developer/api-reference/endpoint/notifications"},{"title":"Dismiss Notification","openapi":"post /api/notifications/{address}/dismiss","href":"/developer/api-reference/endpoint/dismiss-notification"}]},{"group":"Referrals","pages":[{"title":"Referral Config","openapi":"get /api/referrals/config","href":"/developer/api-reference/endpoint/referral-config"},{"title":"Register Code","openapi":"post /api/referrals/code","href":"/developer/api-reference/endpoint/referral-register-code"},{"title":"Bind Code","openapi":"post /api/referrals/bind","href":"/developer/api-reference/endpoint/referral-bind-code"},{"title":"Resolve Binding","openapi":"get /api/referrals/binding/{address}","href":"/developer/api-reference/endpoint/referral-binding"},{"title":"Resolve Code Owner","openapi":"get /api/referrals/code/{code}/address","href":"/developer/api-reference/endpoint/referral-code-owner"},{"title":"Resolve Address Code","openapi":"get /api/referrals/address/{address}/code","href":"/developer/api-reference/endpoint/referral-owner-code"},{"title":"Referral Summary","openapi":"get /api/referrals/summary/{address}","href":"/developer/api-reference/endpoint/referral-summary"},{"title":"Referral Rewards","openapi":"get /api/referrals/rewards/{address}","href":"/developer/api-reference/endpoint/referral-rewards"},{"title":"Referred Wallets","openapi":"get /api/referrals/referred/{address}","href":"/developer/api-reference/endpoint/referral-referred"},{"title":"Referred Wallet Detail","openapi":"get /api/referrals/referred/{address}/detail","href":"/developer/api-reference/endpoint/referral-referred-detail"},{"title":"Referral History","openapi":"get /api/referrals/history/{address}","href":"/developer/api-reference/endpoint/referral-history"},{"title":"Claim Proof","openapi":"get /api/referrals/proof/{address}","href":"/developer/api-reference/endpoint/referral-proof"},{"title":"Resolve Referral Link","openapi":"get /api/referrals/links/{link}/address","href":"/developer/api-reference/endpoint/referral-link-address"},{"title":"Resolve Referral Address","openapi":"get /api/referrals/addresses/{address}/link","href":"/developer/api-reference/endpoint/referral-address-link"}]},{"group":"Trading Backend","pages":[{"title":"Get Trading Variables","openapi":"get /trading-variables","href":"/developer/api-reference/endpoint/core-trading-variables"},{"title":"Get All Trading Variables","openapi":"get /trading-variables/all","href":"/developer/api-reference/endpoint/core-trading-variables-all"},{"title":"Get Trading Variables By Keys","openapi":"get /trading-variables/{keys}","href":"/developer/api-reference/endpoint/core-trading-variables-by-keys"},{"title":"Get Trading Variable Keys","openapi":"get /trading-variables-keys","href":"/developer/api-reference/endpoint/core-trading-variable-keys"},{"title":"Get Open Trades","openapi":"get /open-trades","href":"/developer/api-reference/endpoint/core-open-trades"},{"title":"Get Open Trades By Address","openapi":"get /open-trades/{address}","href":"/developer/api-reference/endpoint/core-open-trades-by-address"},{"title":"Get Open Trades Info","openapi":"get /open-trades-info","href":"/developer/api-reference/endpoint/core-open-trades-info"},{"title":"Get Pending Events","openapi":"get /pending-events","href":"/developer/api-reference/endpoint/core-pending-events"},{"title":"Get User Trading Variables","openapi":"get /user-trading-variables/{address}","href":"/developer/api-reference/endpoint/core-user-trading-variables"}]},{"group":"Legacy Contests","pages":[{"title":"Get Legacy Contest Leaderboard","openapi":"get /contest/leaderboard","href":"/developer/api-reference/endpoint/legacy-contest-leaderboard"},{"title":"Get Legacy Contest PnL","openapi":"get /contest/pnl","href":"/developer/api-reference/endpoint/legacy-contest-pnl"},{"title":"Get Legacy Contest PnL Percent","openapi":"get /contest/pnl-percent","href":"/developer/api-reference/endpoint/legacy-contest-pnl-percent"},{"title":"Get Legacy Final Open PnL","openapi":"get /contest/final-open-pnl","href":"/developer/api-reference/endpoint/legacy-contest-final-open-pnl"},{"title":"Get Legacy Contest","openapi":"get /contest","href":"/developer/api-reference/endpoint/legacy-contest"},{"title":"Get Legacy Contest Rewards","openapi":"get /contest/rewards","href":"/developer/api-reference/endpoint/legacy-contest-rewards"},{"title":"Get Legacy Contest Results","openapi":"get /contest/results","href":"/developer/api-reference/endpoint/legacy-contest-results"},{"title":"Update Legacy Contest Cache","openapi":"put /contest/cache-update","href":"/developer/api-reference/endpoint/legacy-contest-cache-update"}]},{"group":"Rewards","pages":[{"title":"Get Rewards Root","openapi":"get /rewards/root/{configId}/{epoch}","href":"/developer/api-reference/endpoint/rewards-root"},{"title":"Get All Rewards Roots","openapi":"get /rewards/root/all/{configId}/{epoch}","href":"/developer/api-reference/endpoint/rewards-root-all"},{"title":"Get Rewards By Address","openapi":"get /rewards/{configId}/{epoch}/{address}","href":"/developer/api-reference/endpoint/rewards-by-address"},{"title":"Get All Rewards By Address","openapi":"get /rewards/all/{configId}/{epoch}/{address}","href":"/developer/api-reference/endpoint/rewards-all-by-address"}]}]},{"group":"Integrators","icon":"plug","pages":[{"title":"Integrators","href":"/developer/integrators"},{"title":"Trading Contracts","href":"/developer/integrators/trading-contracts"},{"title":"Delegated Trading","href":"/developer/integrators/delegated-trading"},{"title":"Backend","href":"/developer/integrators/backend"},{"title":"Contests","href":"/developer/integrators/contests"},{"title":"Live prices and OHLC snapshots","href":"/developer/integrators/price-feed"},{"title":"Referrals","href":"/developer/integrators/referrals"},{"group":"Guides","pages":[{"title":"Guides","href":"/developer/integrators/guides"},{"title":"Listing all assets","href":"/developer/integrators/guides/listed-assets"},{"title":"Mark + Index Introduction","href":"/developer/integrators/guides/mark-+-index-introduction"},{"title":"Building the virtual order book","href":"/developer/integrators/guides/building-the-virtual-order-book"},{"title":"Support Endpoints Migration","href":"/developer/integrators/guides/support-endpoints-migration"},{"title":"v10.2 migration","href":"/developer/integrators/guides/v10.2-migration"},{"title":"v10 migration","href":"/developer/integrators/guides/v10-migration"},{"title":"Calculating borrowing fees","href":"/developer/integrators/guides/calculating-borrowing-fees"},{"title":"Calculating liquidation price","href":"/developer/integrators/guides/calculating-liquidation-price"},{"title":"Backend Endpoint Refactor","href":"/developer/integrators/guides/backend-endpoint-refactor"},{"title":"History Endpoints Migration","href":"/developer/integrators/guides/history-endpoints-migration"}]}]},{"group":"Technical Reference","icon":"code","pages":[{"group":"Contracts","pages":[{"group":"Changelogs","pages":[{"title":"v10.2 Update","href":"/developer/technical-reference/contracts/changelogs/v10.2-update"},{"title":"v10.1 Update","href":"/developer/technical-reference/contracts/changelogs/v10.1-update"},{"title":"v10 Update","href":"/developer/technical-reference/contracts/changelogs/v10-update"},{"title":"v9.2.1 Update","href":"/developer/technical-reference/contracts/changelogs/v9.2.1-update"},{"title":"v9.1 Update","href":"/developer/technical-reference/contracts/changelogs/v9.1-update"},{"title":"v9.1.1 Update","href":"/developer/technical-reference/contracts/changelogs/v9.1.1-update"},{"title":"v9 Update","href":"/developer/technical-reference/contracts/changelogs/v9-update"}]},{"group":"Core","pages":[{"group":"Abstract","pages":[{"title":"GNSAddressStore","href":"/developer/technical-reference/contracts/core/abstract/gnsaddressstore"},{"title":"GNSDiamondCut","href":"/developer/technical-reference/contracts/core/abstract/gnsdiamondcut"},{"title":"GNSDiamondLoupe","href":"/developer/technical-reference/contracts/core/abstract/gnsdiamondloupe"},{"title":"GNSDiamondStorage","href":"/developer/technical-reference/contracts/core/abstract/gnsdiamondstorage"}]},{"group":"Facets","pages":[{"title":"GNSBorrowingFees","href":"/developer/technical-reference/contracts/core/facets/gnsborrowingfees"},{"title":"GNSOtc","href":"/developer/technical-reference/contracts/core/facets/gnsotc"},{"title":"GNSPriceAggregator","href":"/developer/technical-reference/contracts/core/facets/gnspriceaggregator"},{"title":"GNSTradingInteractions","href":"/developer/technical-reference/contracts/core/facets/gnstradinginteractions"},{"title":"GNSTriggerRewards","href":"/developer/technical-reference/contracts/core/facets/gnstriggerrewards"},{"title":"GNSFeeTiers","href":"/developer/technical-reference/contracts/core/facets/gnsfeetiers"},{"title":"GNSPairsStorage","href":"/developer/technical-reference/contracts/core/facets/gnspairsstorage"},{"title":"GNSPriceImpact","href":"/developer/technical-reference/contracts/core/facets/gnspriceimpact"},{"title":"GNSReferrals","href":"/developer/technical-reference/contracts/core/facets/gnsreferrals"},{"title":"GNSTradingCallbacks","href":"/developer/technical-reference/contracts/core/facets/gnstradingcallbacks"},{"title":"GNSTradingStorage","href":"/developer/technical-reference/contracts/core/facets/gnstradingstorage"}]},{"title":"GNSMultiCollatDiamond","href":"/developer/technical-reference/contracts/core/gnsmulticollatdiamond"},{"title":"GNSStaking","href":"/developer/technical-reference/contracts/core/gnsstaking"},{"title":"GToken","href":"/developer/technical-reference/contracts/core/gtoken"},{"title":"GTokenOpenPnlFeed","href":"/developer/technical-reference/contracts/core/gtokenopenpnlfeed"}]},{"group":"Interfaces","pages":[{"group":"Libraries","pages":[{"title":"IBorrowingFeesUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/iborrowingfeesutils"},{"title":"IOtcUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/iotcutils"},{"title":"IPriceAggregatorUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/ipriceaggregatorutils"},{"title":"ITriggerRewardsUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/itriggerrewardsutils"},{"title":"IFeeTiersUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/ifeetiersutils"},{"title":"IPairsStorageUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/ipairsstorageutils"},{"title":"IPriceImpactUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/ipriceimpactutils"},{"title":"IReferralsUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/ireferralsutils"},{"title":"ITradingCallbacksUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/itradingcallbacksutils"},{"title":"ITradingCommonUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/itradingcommonutils"},{"title":"ITradingInteractionsUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/itradinginteractionsutils"},{"title":"ITradingStorageUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/itradingstorageutils"},{"title":"IUpdateLeverageUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/iupdateleverageutils"},{"title":"IUpdatePositionSizeUtils","href":"/developer/technical-reference/contracts/interfaces/libraries/iupdatepositionsizeutils"}]},{"group":"Types","pages":[{"title":"IAddressStore","href":"/developer/technical-reference/contracts/interfaces/types/iaddressstore"},{"title":"IBorrowingFees","href":"/developer/technical-reference/contracts/interfaces/types/iborrowingfees"},{"title":"IDiamondStorage","href":"/developer/technical-reference/contracts/interfaces/types/idiamondstorage"},{"title":"IOtc","href":"/developer/technical-reference/contracts/interfaces/types/iotc"},{"title":"IPriceAggregator","href":"/developer/technical-reference/contracts/interfaces/types/ipriceaggregator"},{"title":"ITradingStorage","href":"/developer/technical-reference/contracts/interfaces/types/itradingstorage"},{"title":"ITradingInteractions","href":"/developer/technical-reference/contracts/interfaces/types/itradinginteractions"},{"title":"ITriggerRewards","href":"/developer/technical-reference/contracts/interfaces/types/itriggerrewards"},{"title":"ITypes","href":"/developer/technical-reference/contracts/interfaces/types/itypes"},{"title":"IUpdateLeverage","href":"/developer/technical-reference/contracts/interfaces/types/iupdateleverage"},{"title":"IPairsStorage","href":"/developer/technical-reference/contracts/interfaces/types/ipairsstorage"},{"title":"IFeeTiers","href":"/developer/technical-reference/contracts/interfaces/types/ifeetiers"},{"title":"IPriceImpact","href":"/developer/technical-reference/contracts/interfaces/types/ipriceimpact"},{"title":"IReferrals","href":"/developer/technical-reference/contracts/interfaces/types/ireferrals"},{"title":"ITradingCallbacks","href":"/developer/technical-reference/contracts/interfaces/types/itradingcallbacks"},{"title":"IUpdatePositionSize","href":"/developer/technical-reference/contracts/interfaces/types/iupdatepositionsize"}]},{"title":"IChainlinkFeed","href":"/developer/technical-reference/contracts/interfaces/ichainlinkfeed"},{"title":"IArbSys","href":"/developer/technical-reference/contracts/interfaces/iarbsys"},{"title":"IChainlinkOracle","href":"/developer/technical-reference/contracts/interfaces/ichainlinkoracle"},{"title":"IERC20","href":"/developer/technical-reference/contracts/interfaces/ierc20"},{"title":"IERC721","href":"/developer/technical-reference/contracts/interfaces/ierc721"},{"title":"IERC721Design","href":"/developer/technical-reference/contracts/interfaces/ierc721design"},{"title":"IGeneralErrors","href":"/developer/technical-reference/contracts/interfaces/igeneralerrors"},{"title":"IGNSAddressStore","href":"/developer/technical-reference/contracts/interfaces/ignsaddressstore"},{"title":"IGNSDiamond","href":"/developer/technical-reference/contracts/interfaces/ignsdiamond"},{"title":"IGNSDiamondCut","href":"/developer/technical-reference/contracts/interfaces/ignsdiamondcut"},{"title":"IGNSMultiCollatDiamond","href":"/developer/technical-reference/contracts/interfaces/ignsmulticollatdiamond"},{"title":"IGNSDiamondLoupe","href":"/developer/technical-reference/contracts/interfaces/ignsdiamondloupe"},{"title":"IGNSStaking","href":"/developer/technical-reference/contracts/interfaces/ignsstaking"},{"title":"IGToken","href":"/developer/technical-reference/contracts/interfaces/igtoken"},{"title":"IGTokenLockedDepositNft","href":"/developer/technical-reference/contracts/interfaces/igtokenlockeddepositnft"},{"title":"IGTokenOpenPnlFeed","href":"/developer/technical-reference/contracts/interfaces/igtokenopenpnlfeed"},{"title":"IGTokenLockedDepositNftDesign","href":"/developer/technical-reference/contracts/interfaces/igtokenlockeddepositnftdesign"},{"title":"ILiquidityPool","href":"/developer/technical-reference/contracts/interfaces/iliquiditypool"},{"title":"IRateProvider","href":"/developer/technical-reference/contracts/interfaces/irateprovider"},{"title":"IOwnable","href":"/developer/technical-reference/contracts/interfaces/iownable"}]},{"group":"Libraries","pages":[{"group":"updateLeverage","pages":[{"title":"UpdateLeverageLifecycles","href":"/developer/technical-reference/contracts/libraries/updateleverage/updateleveragelifecycles"}]},{"group":"updatePositionSize","pages":[{"title":"IncreasePositionSizeUtils","href":"/developer/technical-reference/contracts/libraries/updatepositionsize/increasepositionsizeutils"},{"title":"DecreasePositionSizeUtils","href":"/developer/technical-reference/contracts/libraries/updatepositionsize/decreasepositionsizeutils"},{"title":"UpdatePositionSizeLifecycles","href":"/developer/technical-reference/contracts/libraries/updatepositionsize/updatepositionsizelifecycles"}]},{"title":"AddressStoreUtils","href":"/developer/technical-reference/contracts/libraries/addressstoreutils"},{"title":"ChainlinkClientUtils","href":"/developer/technical-reference/contracts/libraries/chainlinkclientutils"},{"title":"ChainUtils","href":"/developer/technical-reference/contracts/libraries/chainutils"},{"title":"ConstantsUtils","href":"/developer/technical-reference/contracts/libraries/constantsutils"},{"title":"CollateralUtils","href":"/developer/technical-reference/contracts/libraries/collateralutils"},{"title":"DiamondUtils","href":"/developer/technical-reference/contracts/libraries/diamondutils"},{"title":"LiquidityPoolUtils","href":"/developer/technical-reference/contracts/libraries/liquiditypoolutils"},{"title":"OtcUtils","href":"/developer/technical-reference/contracts/libraries/otcutils"},{"title":"PackingUtils","href":"/developer/technical-reference/contracts/libraries/packingutils"},{"title":"StorageUtils","href":"/developer/technical-reference/contracts/libraries/storageutils"},{"title":"TriggerRewardsUtils","href":"/developer/technical-reference/contracts/libraries/triggerrewardsutils"},{"title":"ArrayGetters","href":"/developer/technical-reference/contracts/libraries/arraygetters"},{"title":"BorrowingFeesUtils","href":"/developer/technical-reference/contracts/libraries/borrowingfeesutils"},{"title":"FeeTiersUtils","href":"/developer/technical-reference/contracts/libraries/feetiersutils"},{"title":"PriceAggregatorUtils","href":"/developer/technical-reference/contracts/libraries/priceaggregatorutils"},{"title":"PriceImpactUtils","href":"/developer/technical-reference/contracts/libraries/priceimpactutils"},{"title":"ReferralsUtils","href":"/developer/technical-reference/contracts/libraries/referralsutils"},{"title":"TradingCallbacksUtils","href":"/developer/technical-reference/contracts/libraries/tradingcallbacksutils"},{"title":"PairsStorageUtils","href":"/developer/technical-reference/contracts/libraries/pairsstorageutils"},{"title":"TradingCommonUtils","href":"/developer/technical-reference/contracts/libraries/tradingcommonutils"},{"title":"TradingStorageUtils","href":"/developer/technical-reference/contracts/libraries/tradingstorageutils"},{"title":"TradingInteractionsUtils","href":"/developer/technical-reference/contracts/libraries/tradinginteractionsutils"}]},{"group":"Misc","pages":[{"title":"EpochBasedTokenClaim","href":"/developer/technical-reference/contracts/misc/epochbasedtokenclaim"},{"title":"GNSCompensationHandler","href":"/developer/technical-reference/contracts/misc/gnscompensationhandler"},{"title":"GTokenRateProvider","href":"/developer/technical-reference/contracts/misc/gtokenrateprovider"},{"title":"GTokenLockedDepositNftDesign","href":"/developer/technical-reference/contracts/misc/gtokenlockeddepositnftdesign"},{"title":"ManagerTimelock","href":"/developer/technical-reference/contracts/misc/managertimelock"},{"title":"OwnerTimelock","href":"/developer/technical-reference/contracts/misc/ownertimelock"},{"title":"VotingDelegator","href":"/developer/technical-reference/contracts/misc/votingdelegator"}]},{"group":"Tokens","pages":[{"title":"GainsNetworkToken","href":"/developer/technical-reference/contracts/tokens/gainsnetworktoken"},{"title":"GTokenLockedDepositNft","href":"/developer/technical-reference/contracts/tokens/gtokenlockeddepositnft"}]}]},{"group":"Backend","pages":[{"title":"Backend Types","href":"/developer/technical-reference/backend/backend-types"}]},{"group":"SDK","pages":[{"title":"SDK","href":"/developer/technical-reference/sdk"},{"title":"Client Types","href":"/developer/technical-reference/sdk/client-types"}]}]}]},{"tab":"$GNS","pages":[{"title":"$GNS","href":"/what-is-gains-network/summary"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Get one market - Gains Network","buildId":"dpl_77Hw7ZuAABM8E3WMbYAf2ohQCr3v","deploymentId":"dpl_77Hw7ZuAABM8E3WMbYAf2ohQCr3v","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CVpqyvFO.js","utils-vpweLD0v.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BIOodqb0.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B1LM3qmu.js","snippetPresets-C5xK0GtN.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CCsxLnQl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C2-WKG22.js","shallow-SdoLUC-q.js","getApiPlaygroundDisplay-BnI8L2hB.js","CodeSnippet-D5M8NCHI.js","CodeSnippets-CXRO8Uom.js","Page-CN9QbZiA.js","getPastedJson-CrfHEdRt.js","icon-Cr8AyUnW.js","MethodPill-J_Cs0kNw.js","DuplicateIcon-DrMboxGw.js","createIcon-B4CIWVbU.js","DynamicMarkdown-D9cdbgj9.js","SectionHeading-BO4CouT0.js","axios-vUo_bRtp.js","Markdown-L1m1-PSi.js","clsx-rIpTdK8h.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-ptfS1uB_.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-D31Sm3f9.js"]}