Estimates one side of a block trade for the caller’s subaccount before it is signed. Takes the side’s direction, the agreed priced legs and an optional extra_fee. Returns the total fee the side would pay, extra_fee included, its initial margin before and after the trade, and within_price_band, which is whether the total cost is inside the currency’s RFQ price band for both sides, or null if the currency has no band. Fails with invalid_amount (11012) if a leg is smaller than 100 times its instrument’s minimum_amount. A side without enough margin returns is_valid false and the reason, not an error. Requires the block_trade off-chain scope.
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"Derive API","colors":{"primary":"#F63E58","light":"#F8657A","dark":"#F10B2C"},"logo":{"light":"https://mintcdn.com/derive-a0490cef/Bt06Ji3mw21_R7pR/logo/derive.png?fit=max\u0026auto=format\u0026n=Bt06Ji3mw21_R7pR\u0026q=85\u0026s=f6216ec72bc35bec084a22d0032062c7","dark":"https://mintcdn.com/derive-a0490cef/Bt06Ji3mw21_R7pR/logo/derive.png?fit=max\u0026auto=format\u0026n=Bt06Ji3mw21_R7pR\u0026q=85\u0026s=f6216ec72bc35bec084a22d0032062c7"},"favicon":"https://mintcdn.com/derive-a0490cef/BhszcT-bQHpTuFnc/favicon.png?fit=max\u0026auto=format\u0026n=BhszcT-bQHpTuFnc\u0026q=85\u0026s=954fe2ecc60f0919aecd71b09abd2371","background":{"color":{"dark":"#000000"}},"fonts":{"heading":{"family":"GT Standard","weight":650,"source":"fonts/GTStandard-Medium.woff2","format":"woff2"},"body":{"family":"GT Standard","weight":400,"source":"fonts/GTStandard-Regular.woff2","format":"woff2"}},"contextual":{"options":["copy","view","claude","chatgpt","grok","devin","cursor","download-pdf","mcp","add-mcp"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"derive-a0490cef","hasAudioNarration":false,"actualSubdomain":"derive-a0490cef","customDomains":["docs.derive.xyz"],"gitSource":{"type":"github","owner":"derivexyz","repo":"orderbook","deployBranch":"v3","contentDirectory":"docs/api","isPrivate":true,"mountPath":"","label":""},"feedback":{"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af61e7ab3ebbc0054d9eba2","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"API Reference","count":159},{"language":"default","tag":"HTTP \u0026 WS Methods","count":140},{"language":"default","tag":"Guides","count":30},{"language":"default","tag":"RFQ","count":22},{"language":"default","tag":"Orderbook","count":18},{"language":"default","tag":"Mechanism","count":17},{"language":"default","tag":"Market Data","count":16},{"language":"default","tag":"WS Subscriptions","count":15},{"language":"default","tag":"Channels","count":15},{"language":"default","tag":"Subaccounts","count":11}],"searchSettings":{"showContentSnippets":true,"maxResults":6}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@derive.xyz"}},"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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".frame{background-color:transparent!important}.frame>.absolute{display:none!important}.frame{border-radius:0.333rem!important}.frame>.relative{border-radius:0.25rem!important}@font-face{font-family:'GT Standard Mono';src:url('/fonts/GTStandardMono-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}.derive-accent{color:#f63e58}.derive-mono{font-family:'GT Standard Mono', ui-monospace, 'SF Mono', Menlo, monospace}.derive-eyebrow{font-size:0.8125rem;font-weight:600;letter-spacing:0.14em;text-transform:uppercase}.derive-h1{font-size:clamp(2.25rem, 5.5vw, 3.75rem);line-height:1.04;letter-spacing:-0.025em;font-weight:650}.derive-hero::before{content:'';position:absolute;inset:-20% 0 auto 0;height:60%;background:radial-gradient(50% 60% at 50% 0%, rgba(246, 62, 88, 0.1), transparent 72%);pointer-events:none;z-index:0}.dark .derive-hero::before{background:radial-gradient(50% 60% at 50% 0%, rgba(246, 62, 88, 0.18), transparent 72%)}.derive-btn{display:inline-flex;align-items:center;gap:0.5rem;border-radius:0.5rem;padding:0.6875rem 1.25rem;font-weight:550;font-size:0.9375rem;line-height:1;text-decoration:none;transition:background-color 0.15s ease,\n border-color 0.15s ease,\n transform 0.15s ease}.derive-btn:hover{transform:translateY(-1px)}.derive-btn-primary{background:#f63e58;color:#ffffff}.derive-btn-primary:hover{background:#f10b2c}.derive-btn-secondary{border:1px solid rgba(0, 0, 0, 0.14);color:inherit}.dark .derive-btn-secondary{border-color:rgba(255, 255, 255, 0.16)}.derive-btn-secondary:hover{border-color:#f63e58}.derive-endpoints{width:fit-content;max-width:100%;overflow:hidden;border:1px solid rgba(0, 0, 0, 0.1);border-radius:0.5rem;font-size:0.8125rem}.derive-endpoints-network{padding:0.4375rem 0.875rem;background:rgba(0, 0, 0, 0.035);border-bottom:1px solid rgba(0, 0, 0, 0.08);font-size:0.75rem;font-weight:600}.derive-endpoints-rows+.derive-endpoints-network{border-top:1px solid rgba(0, 0, 0, 0.08)}.derive-endpoints-rows{display:grid;grid-template-columns:2.5rem auto;align-items:baseline;gap:0.375rem 0.75rem;padding:0.625rem 0.875rem}.derive-endpoints-protocol{font-size:0.6875rem;font-weight:600;letter-spacing:0.06em;color:#6b7280}.derive-endpoints .derive-mono{overflow-wrap:anywhere}.derive-endpoints-url{position:relative;padding:0;border:0;background:none;color:inherit;font-size:inherit;text-align:left;cursor:pointer;transition:color 0.15s ease}.derive-endpoints-url:hover{color:#f63e58}.derive-endpoints-url[data-copied]{color:transparent}.derive-endpoints-url[data-copied]::after{content:'Copied';position:absolute;top:0;left:0;color:#f63e58}.derive-pixel{position:relative}.derive-pixel>span{opacity:0;animation:derive-pixel-fallback 0.5s ease 2s forwards}.derive-pixel[data-pixel]>span{animation:none;transition:opacity 0.5s ease}.derive-pixel[data-pixel=\"done\"]>span{opacity:1}.derive-pixel-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;transition:opacity 0.5s ease}.derive-pixel[data-pixel=\"done\"] .derive-pixel-canvas{opacity:0}@keyframes derive-pixel-fallback{to{opacity:1}}@media (prefers-reduced-motion: reduce){.derive-pixel>span{opacity:1;animation:none}}.dark .derive-endpoints{border-color:rgba(255, 255, 255, 0.12);background:rgba(255, 255, 255, 0.02)}.dark .derive-endpoints-network{background:rgba(255, 255, 255, 0.05);border-color:rgba(255, 255, 255, 0.08)}.dark .derive-endpoints-protocol{color:#9ca3af}.derive-fit-table table{width:max-content;min-width:0}.derive-fit-table table th,.derive-fit-table table td,.derive-fit-table table code{min-width:0;white-space:nowrap}.derive-code{filter:drop-shadow(0 24px 70px rgba(246, 62, 88, 0.18))}.derive-code pre{margin:0}.derive-code .code-group{margin-top:1rem}.derive-code [data-component-part=\"code-block-root\"]{height:27.5rem;transition:none}.derive-feature-icon{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:0.5rem;background:rgba(246, 62, 88, 0.1);color:#f63e58}.derive-persona{display:flex;flex-direction:column;height:100%;border:1px solid rgba(0, 0, 0, 0.1);border-radius:0.875rem;padding:1.5rem;text-decoration:none;color:inherit;transition:border-color 0.15s ease,\n transform 0.15s ease,\n box-shadow 0.15s ease}.dark .derive-persona{border-color:rgba(255, 255, 255, 0.1)}.derive-persona:hover{border-color:#f63e58;transform:translateY(-2px);box-shadow:0 22px 55px -32px rgba(246, 62, 88, 0.55)}.derive-persona-cta{margin-top:auto;padding-top:1rem;color:#f63e58;font-weight:550;font-size:0.875rem}.derive-sdk{display:flex;flex:none;width:9.5rem;align-items:center;justify-content:flex-start;gap:0.5rem;border:1px solid rgba(0, 0, 0, 0.1);border-radius:0.625rem;padding:0.5rem 0.75rem;text-decoration:none;color:inherit;transition:border-color 0.15s ease,\n transform 0.15s ease,\n box-shadow 0.15s ease}.dark .derive-sdk{border-color:rgba(255, 255, 255, 0.1)}a.derive-sdk:hover{border-color:#f63e58;transform:translateY(-2px);box-shadow:0 22px 55px -32px rgba(246, 62, 88, 0.55)}.derive-flow{--derive-flow-bg: oklch(100% 0 0);--derive-flow-fg: oklch(14.5% 0 0);--derive-flow-card: oklch(100% 0 0);--derive-flow-popover: oklch(100% 0 0);--derive-flow-secondary: oklch(97% 0 0);--derive-flow-accent: oklch(97% 0 0);--derive-flow-muted: oklch(55.6% 0 0);--derive-flow-border: oklch(92.2% 0 0);--derive-flow-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);--derive-flow-funds: oklch(69.913% 0.15878 159);--derive-flow-call: oklch(62.3% 0.214 259.815);--derive-flow-signal: oklch(76.9% 0.188 70.08);color:var(--derive-flow-fg)}.dark .derive-flow{--derive-flow-bg: oklch(14.5% 0 0);--derive-flow-fg: oklch(98.5% 0 0);--derive-flow-card: oklch(20.5% 0 0);--derive-flow-popover: oklch(20.5% 0 0);--derive-flow-secondary: oklch(26.9% 0 0);--derive-flow-accent: oklch(26.9% 0 0);--derive-flow-muted: oklch(70.8% 0 0);--derive-flow-border: oklch(100% 0 0 / 0.1);--derive-flow-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);--derive-flow-funds: oklch(83.745% 0.1914 158.67)}.derive-flow-hit:hover{background:var(--derive-flow-accent)!important}.derive-flow-dash{animation:derive-flow-dash 1.2s linear infinite}@keyframes derive-flow-dash{to{stroke-dashoffset:-24}}@media (prefers-reduced-motion: reduce){.derive-flow-dash{animation:none}}"}],"page":{"pagePath":"api-reference/rfq/privatesimulate_block_trade","slug":"/api-reference/rfq/privatesimulate_block_trade","pageMetadata":{"title":"private/simulate_block_trade","description":"Estimates one side of a block trade for the caller's subaccount before it is signed. Takes the side's direction, the agreed priced legs and an optional extra_fee. Returns the total fee the side would pay, extra_fee included, its initial margin before and after the trade, and within_price_band, which is whether the total cost is inside the currency's RFQ price band for both sides, or null if the currency has no band. Fails with invalid_amount (11012) if a leg is smaller than 100 times its instrument's minimum_amount. A side without enough margin returns is_valid false and the reason, not an error. Requires the block_trade off-chain scope.","deprecated":null,"version":null,"openapi":"/openapi.json post /private/simulate_block_trade","href":"/api-reference/rfq/privatesimulate_block_trade","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Estimates one side of a block trade for the caller’s subaccount before it is signed. Takes the side’s direction, the agreed priced legs and an optional extra_fee. Returns the total fee the side would pay, extra_fee included, its initial margin before and after the trade, and within_price_band, which is whether the total cost is inside the currency’s RFQ price band for both sides, or null if the currency has no band. Fails with invalid_amount (11012) if a leg is smaller than 100 times its instrument’s minimum_amount. A side without enough margin returns is_valid false and the reason, not an error. Requires the block_trade off-chain scope.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"private/simulate_block_trade","description":"Estimates one side of a block trade for the caller's subaccount before it is signed. Takes the side's direction, the agreed priced legs and an optional extra_fee. Returns the total fee the side would pay, extra_fee included, its initial margin before and after the trade, and within_price_band, which is whether the total cost is inside the currency's RFQ price band for both sides, or null if the currency has no band. Fails with invalid_amount (11012) if a leg is smaller than 100 times its instrument's minimum_amount. A side without enough margin returns is_valid false and the reason, not an error. Requires the block_trade off-chain scope.","deprecated":null,"version":null,"openapi":"/openapi.json post /private/simulate_block_trade","href":"/api-reference/rfq/privatesimulate_block_trade","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["RFQ"],"summary":"private/simulate_block_trade","operationId":"private_simulate_block_trade","responses":{"200":"7fb809eb-70b3-4f83-bbe4-3f0ea5574d02","default":"bfeca935-9d25-4158-a6e8-d5525f919c0a"},"security":["f3f3cce1-6030-4752-bb92-c8ed733f065e"],"description":"Estimates one side of a block trade for the caller's subaccount before it is signed. Takes the side's direction, the agreed priced legs and an optional extra_fee. Returns the total fee the side would pay, extra_fee included, its initial margin before and after the trade, and within_price_band, which is whether the total cost is inside the currency's RFQ price band for both sides, or null if the currency has no band. Fails with invalid_amount (11012) if a leg is smaller than 100 times its instrument's minimum_amount. A side without enough margin returns is_valid false and the reason, not an error. Requires the block_trade off-chain scope.","x-rate-limit-class":"non_matching","requestBody":"e736946e-830f-426a-8842-2dd70dd66e10","method":"post","type":"path","servers":["ec9e46e1-d5ce-4f59-88e0-10065872a78e","471764f1-73e3-48ef-972b-a2dbc76cb2dd"],"path":"/private/simulate_block_trade","baseUrlOptions":["https://api.derive.xyz/v3","https://testnet.api.derive.xyz/v3"],"title":"private/simulate_block_trade","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["direction","legs","subaccount_id"],"properties":{"direction":{"type":"string","enum":["buy","sell"],"description":"This side's direction. The taker side trades opposite the maker side.","isRequired":true,"uniqueKey":"direction","typeLabel":"enum\u003cstring>"},"legs":{"description":"The agreed priced legs, the same on both sides.","type":"array","items":{"type":"object","required":["amount","direction","instrument_name","price"],"properties":{"amount":{"description":"Non-negative decimal string of the human value (e.g. `\"1.5\"`), up to 12 fractional digits; a string or JSON number is accepted","type":"string","format":"decimal","isRequired":true,"uniqueKey":"legs.items.[INDEX].amount","typeLabel":"string\u003cdecimal>"},"direction":{"type":"string","enum":["buy","sell"],"isRequired":true,"uniqueKey":"legs.items.[INDEX].direction","typeLabel":"enum\u003cstring>"},"instrument_name":{"type":"string","isRequired":true,"uniqueKey":"legs.items.[INDEX].instrument_name","typeLabel":"string"},"price":{"description":"Non-negative decimal string of the human value (e.g. `\"1.5\"`), up to 12 fractional digits; a string or JSON number is accepted","type":"string","format":"decimal","isRequired":true,"uniqueKey":"legs.items.[INDEX].price","typeLabel":"string\u003cdecimal>"}},"uniqueKey":"legs.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"legs","typeLabel":"object[]"},"subaccount_id":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"subaccount_id","typeLabel":"integer\u003cint64>"},"extra_fee":{"description":"Broker fee for this side, in USD.","default":"0","type":"string","format":"decimal","uniqueKey":"extra_fee","typeLabel":"string\u003cdecimal>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"legs":[{"amount":"\u003cstring>","instrument_name":"\u003cstring>","price":"\u003cstring>"}],"subaccount_id":123,"extra_fee":"0"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"7fb809eb-70b3-4f83-bbe4-3f0ea5574d02":{"description":"Success","content":{"application/json":{"schema":{"description":"Result for `private/simulate_block_trade` and `private/verify_block_trade`: one side's fee and margin if it executed now.","type":"object","required":["estimated_fee","is_valid","post_initial_margin","pre_initial_margin"],"properties":{"estimated_fee":{"description":"The side's total fee, `extra_fee` included.","type":"string","format":"decimal","isRequired":true,"uniqueKey":"estimated_fee","typeLabel":"string\u003cdecimal>"},"is_valid":{"description":"False if the side does not have enough margin for its trade and fees, or if the trade takes the subaccount over its maximum asset count.","type":"boolean","isRequired":true,"uniqueKey":"is_valid","typeLabel":"boolean"},"post_initial_margin":{"description":"Decimal string of the human value (e.g. `\"1.5\"`), up to 12 fractional digits; a string or JSON number is accepted","type":"string","format":"decimal","isRequired":true,"uniqueKey":"post_initial_margin","typeLabel":"string\u003cdecimal>"},"pre_initial_margin":{"description":"Decimal string of the human value (e.g. `\"1.5\"`), up to 12 fractional digits; a string or JSON number is accepted","type":"string","format":"decimal","isRequired":true,"uniqueKey":"pre_initial_margin","typeLabel":"string\u003cdecimal>"},"expires_at_sec":{"oneOf":[{"description":"The last second at which the signed side can execute. Null for an unsigned side.","type":"integer","format":"int64","uniqueKey":"expires_at_sec.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The last second at which the signed side can execute. Null for an unsigned side.","type":"null","format":"int64","uniqueKey":"expires_at_sec.oneOf.1","typeLabel":"null"}],"uniqueKey":"expires_at_sec","typeLabel":"integer\u003cint64> | null"},"invalid_reason":{"oneOf":[{"type":"string","uniqueKey":"invalid_reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"invalid_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"invalid_reason","typeLabel":"string | null"},"within_price_band":{"oneOf":[{"description":"Whether both sides are within the currency's RFQ price band. Null if it has no band.","type":"boolean","uniqueKey":"within_price_band.oneOf.0","typeLabel":"boolean"},{"description":"Whether both sides are within the currency's RFQ price band. Null if it has no band.","type":"null","uniqueKey":"within_price_band.oneOf.1","typeLabel":"null"}],"uniqueKey":"within_price_band","typeLabel":"boolean | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"estimated_fee":"\u003cstring>","is_valid":true,"post_initial_margin":"\u003cstring>","pre_initial_margin":"\u003cstring>","expires_at_sec":123,"invalid_reason":"\u003cstring>","within_price_band":true}}},"exampleType":"generated"}},"exampleType":"generated"},"bfeca935-9d25-4158-a6e8-d5525f919c0a":{"description":"JSON-RPC error (see Error Codes)","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"error.code","typeLabel":"integer\u003cint64>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"data":{"oneOf":[{"type":"string","uniqueKey":"error.data.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"error.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.data","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":123,"message":"\u003cstring>","data":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f3f3cce1-6030-4752-bb92-c8ed733f065e":{"DeriveWallet":{"type":"apiKey","in":"header","name":"X-DeriveWallet","description":"The wallet the request acts for.","scopes":[],"schemeName":"DeriveWallet"},"DeriveTimestamp":{"type":"apiKey","in":"header","name":"X-DeriveTimestamp","description":"The current time in milliseconds, as a decimal string.","scopes":[],"schemeName":"DeriveTimestamp"},"DeriveSignature":{"type":"apiKey","in":"header","name":"X-DeriveSignature","description":"EIP-191 signature of the timestamp, by the wallet or one of its session keys.","scopes":[],"schemeName":"DeriveSignature"}}},"servers":{"ec9e46e1-d5ce-4f59-88e0-10065872a78e":{"url":"https://api.derive.xyz/v3","description":"Production (HTTP POST base)"},"471764f1-73e3-48ef-972b-a2dbc76cb2dd":{"url":"https://testnet.api.derive.xyz/v3","description":"Testnet (HTTP POST base)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-DeriveWallet","description":"The wallet the request acts for.","scopes":[],"schemeName":"DeriveWallet"},"schema":{"title":"X-DeriveWallet","type":"string","description":"The wallet the request acts for.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"DeriveWallet","name":"X-DeriveWallet"},{"scheme":{"type":"apiKey","in":"header","name":"X-DeriveTimestamp","description":"The current time in milliseconds, as a decimal string.","scopes":[],"schemeName":"DeriveTimestamp"},"schema":{"title":"X-DeriveTimestamp","type":"string","description":"The current time in milliseconds, as a decimal string.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"DeriveTimestamp","name":"X-DeriveTimestamp"},{"scheme":{"type":"apiKey","in":"header","name":"X-DeriveSignature","description":"EIP-191 signature of the timestamp, by the wallet or one of its session keys.","scopes":[],"schemeName":"DeriveSignature"},"schema":{"title":"X-DeriveSignature","type":"string","description":"EIP-191 signature of the timestamp, by the wallet or one of its session keys.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"DeriveSignature","name":"X-DeriveSignature"}],"title":"DeriveWallet \u0026 DeriveTimestamp \u0026 DeriveSignature"}]},"originalFileLocation":"openapi.json"},"subdomain":"derive-a0490cef","siteName":"Derive API","title":"private/simulate_block_trade - Derive API","relatedPagesConfig":{"enabled":true,"limit":3,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T20:16:05.788Z","originalFileLocation":"api-reference/rfq/privatesimulate_block_trade.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Estimates one side of a block trade for the caller\u0026#x27;s subaccount before it is signed. Takes the side\u0026#x27;s direction, the agreed priced legs and an optional extra_fee. Returns the total fee the side would pay, extra_fee included, its initial margin before and after the trade, and within_price_band, which is whether the total cost is inside the currency\u0026#x27;s RFQ price band for both sides, or null if the currency has no band. Fails with invalid_amount (11012) if a leg is smaller than 100 times its instrument\u0026#x27;s minimum_amount. A side without enough margin returns is_valid false and the reason, not an error. Requires the block_trade off-chain scope.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Derive API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/derive-a0490cef/XfAhjgqOqjMLwFQW/_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/derive-a0490cef/XfAhjgqOqjMLwFQW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/derive-a0490cef/XfAhjgqOqjMLwFQW/_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/derive-a0490cef/XfAhjgqOqjMLwFQW/_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/derive-a0490cef/XfAhjgqOqjMLwFQW/_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/derive-a0490cef/XfAhjgqOqjMLwFQW/_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/derive-a0490cef/XfAhjgqOqjMLwFQW/_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/derive-a0490cef/XfAhjgqOqjMLwFQW/_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/derive-a0490cef/XfAhjgqOqjMLwFQW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"private/simulate_block_trade - Derive API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Estimates one side of a block trade for the caller\u0026#x27;s subaccount before it is signed. Takes the side\u0026#x27;s direction, the agreed priced legs and an optional extra_fee. Returns the total fee the side would pay, extra_fee included, its initial margin before and after the trade, and within_price_band, which is whether the total cost is inside the currency\u0026#x27;s RFQ price band for both sides, or null if the currency has no band. Fails with invalid_amount (11012) if a leg is smaller than 100 times its instrument\u0026#x27;s minimum_amount. A side without enough margin returns is_valid false and the reason, not an error. Requires the block_trade off-chain scope.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Derive API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.derive.xyz/api-reference/rfq/privatesimulate_block_trade\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://derive-a0490cef.mintlify.site/_mintlify/api/og/v2?division=RFQ\u0026amp;title=private%2Fsimulate_block_trade\u0026amp;description=Estimates+one+side+of+a+block+trade+for+the+caller%27s+subaccount+before+it+is+signed.+Takes+the+side%27s+direction%2C+the+agreed+priced+legs+and+an+optional+extra_fe\u0026amp;theme=a7e111b9a64e83fe5599862a\u0026amp;signature=d2d92cadd55c9b1db99411b6e62d9cb4781b1473e04fc926d030a1e8bb36d29d\">\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=\"private/simulate_block_trade - Derive API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Estimates one side of a block trade for the caller\u0026#x27;s subaccount before it is signed. Takes the side\u0026#x27;s direction, the agreed priced legs and an optional extra_fee. Returns the total fee the side would pay, extra_fee included, its initial margin before and after the trade, and within_price_band, which is whether the total cost is inside the currency\u0026#x27;s RFQ price band for both sides, or null if the currency has no band. Fails with invalid_amount (11012) if a leg is smaller than 100 times its instrument\u0026#x27;s minimum_amount. A side without enough margin returns is_valid false and the reason, not an error. Requires the block_trade off-chain scope.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://derive-a0490cef.mintlify.site/_mintlify/api/og/v2?division=RFQ\u0026amp;title=private%2Fsimulate_block_trade\u0026amp;description=Estimates+one+side+of+a+block+trade+for+the+caller%27s+subaccount+before+it+is+signed.+Takes+the+side%27s+direction%2C+the+agreed+priced+legs+and+an+optional+extra_fe\u0026amp;theme=a7e111b9a64e83fe5599862a\u0026amp;signature=d2d92cadd55c9b1db99411b6e62d9cb4781b1473e04fc926d030a1e8bb36d29d\">\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/derive-a0490cef/XfAhjgqOqjMLwFQW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Derive API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F63E58\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.derive.xyz/api-reference/rfq/privatesimulate_block_trade\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/rfq/privatesimulate_block_trade.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.derive.xyz/#organization\",\"name\":\"Derive API\",\"url\":\"https://docs.derive.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/derive-a0490cef/Bt06Ji3mw21_R7pR/logo/derive.png?fit=max\u0026auto=format\u0026n=Bt06Ji3mw21_R7pR\u0026q=85\u0026s=f6216ec72bc35bec084a22d0032062c7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.derive.xyz#website\",\"name\":\"Derive API\",\"url\":\"https://docs.derive.xyz\",\"publisher\":{\"@id\":\"https://docs.derive.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.derive.xyz/api-reference/rfq/privatesimulate_block_trade#webpage\",\"url\":\"https://docs.derive.xyz/api-reference/rfq/privatesimulate_block_trade\",\"name\":\"private/simulate_block_trade\",\"description\":\"Estimates one side of a block trade for the caller's subaccount before it is signed. Takes the side's direction, the agreed priced legs and an optional extra_fee. Returns the total fee the side would pay, extra_fee included, its initial margin before and after the trade, and within_price_band, which is whether the total cost is inside the currency's RFQ price band for both sides, or null if the currency has no band. Fails with invalid_amount (11012) if a leg is smaller than 100 times its instrument's minimum_amount. A side without enough margin returns is_valid false and the reason, not an error. Requires the block_trade off-chain scope.\",\"dateModified\":\"2026-11-12T20:16:05.788Z\",\"isPartOf\":{\"@id\":\"https://docs.derive.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.derive.xyz/api-reference/rfq/privatesimulate_block_trade#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.derive.xyz/api-reference/rfq/privatesimulate_block_trade#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HTTP \u0026 WS Methods\",\"item\":\"https://docs.derive.xyz/api-reference/subaccounts/privatechange_subaccount_label\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RFQ\",\"item\":\"https://docs.derive.xyz/api-reference/rfq/privatecancel_batch_quotes\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"private/simulate_block_trade\",\"item\":\"https://docs.derive.xyz/api-reference/rfq/privatesimulate_block_trade\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.derive.xyz/api-reference/rfq/privatesimulate_block_trade#apireference\",\"headline\":\"private/simulate_block_trade\",\"name\":\"private/simulate_block_trade\",\"description\":\"Estimates one side of a block trade for the caller's subaccount before it is signed. Takes the side's direction, the agreed priced legs and an optional extra_fee. Returns the total fee the side would pay, extra_fee included, its initial margin before and after the trade, and within_price_band, which is whether the total cost is inside the currency's RFQ price band for both sides, or null if the currency has no band. Fails with invalid_amount (11012) if a leg is smaller than 100 times its instrument's minimum_amount. A side without enough margin returns is_valid false and the reason, not an error. Requires the block_trade off-chain scope.\",\"url\":\"https://docs.derive.xyz/api-reference/rfq/privatesimulate_block_trade\",\"mainEntityOfPage\":{\"@id\":\"https://docs.derive.xyz/api-reference/rfq/privatesimulate_block_trade#webpage\"},\"dateModified\":\"2026-11-12T20:16:05.788Z\",\"publisher\":{\"@id\":\"https://docs.derive.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.derive.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Derive API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Derive API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/rfq/privatesimulate_block_trade.md","siteName":"Derive API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/getting-started/introduction"}]},{"tab":"API Reference","groups":[{"group":"HTTP \u0026 WS Methods","pages":[{"group":"Subaccounts","pages":[{"title":"private/change_subaccount_label","deprecated":null,"version":null,"openapi":"/openapi.json post /private/change_subaccount_label","href":"/api-reference/subaccounts/privatechange_subaccount_label"},{"title":"private/delete_subaccount","deprecated":null,"version":null,"openapi":"/openapi.json post /private/delete_subaccount","href":"/api-reference/subaccounts/privatedelete_subaccount"},{"title":"private/get_all_portfolios","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_all_portfolios","href":"/api-reference/subaccounts/privateget_all_portfolios"},{"title":"private/get_collaterals","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_collaterals","href":"/api-reference/subaccounts/privateget_collaterals"},{"title":"private/get_margin","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_margin","href":"/api-reference/subaccounts/privateget_margin"},{"title":"private/get_positions","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_positions","href":"/api-reference/subaccounts/privateget_positions"},{"title":"private/get_subaccount","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_subaccount","href":"/api-reference/subaccounts/privateget_subaccount"},{"title":"private/get_subaccounts","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_subaccounts","href":"/api-reference/subaccounts/privateget_subaccounts"},{"title":"public/get_margin","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_margin","href":"/api-reference/subaccounts/publicget_margin"},{"title":"public/get_subaccounts","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_subaccounts","href":"/api-reference/subaccounts/publicget_subaccounts"},{"title":"public/get_wallet","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_wallet","href":"/api-reference/subaccounts/publicget_wallet"}]},{"group":"Session Keys","pages":[{"title":"private/edit_session_key","deprecated":null,"version":null,"openapi":"/openapi.json post /private/edit_session_key","href":"/api-reference/session-keys/privateedit_session_key"},{"title":"private/session_keys","deprecated":null,"version":null,"openapi":"/openapi.json post /private/session_keys","href":"/api-reference/session-keys/privatesession_keys"},{"title":"private/set_session_key","deprecated":null,"version":null,"openapi":"/openapi.json post /private/set_session_key","href":"/api-reference/session-keys/privateset_session_key"},{"title":"private/set_session_key_debug","deprecated":null,"version":null,"openapi":"/openapi.json post /private/set_session_key_debug","href":"/api-reference/session-keys/privateset_session_key_debug"},{"title":"public/get_wallets_from_session_key","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_wallets_from_session_key","href":"/api-reference/session-keys/publicget_wallets_from_session_key"}]},{"group":"Account","pages":[{"title":"private/get_account","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_account","href":"/api-reference/account/privateget_account"}]},{"group":"Orderbook","pages":[{"title":"private/cancel","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel","href":"/api-reference/orderbook/privatecancel"},{"title":"private/cancel_algo_order","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel_algo_order","href":"/api-reference/orderbook/privatecancel_algo_order"},{"title":"private/cancel_all","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel_all","href":"/api-reference/orderbook/privatecancel_all"},{"title":"private/cancel_all_algo_orders","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel_all_algo_orders","href":"/api-reference/orderbook/privatecancel_all_algo_orders"},{"title":"private/cancel_all_trigger_orders","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel_all_trigger_orders","href":"/api-reference/orderbook/privatecancel_all_trigger_orders"},{"title":"private/cancel_by_instrument","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel_by_instrument","href":"/api-reference/orderbook/privatecancel_by_instrument"},{"title":"private/cancel_by_label","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel_by_label","href":"/api-reference/orderbook/privatecancel_by_label"},{"title":"private/cancel_by_nonce","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel_by_nonce","href":"/api-reference/orderbook/privatecancel_by_nonce"},{"title":"private/cancel_trigger_order","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel_trigger_order","href":"/api-reference/orderbook/privatecancel_trigger_order"},{"title":"private/get_algo_orders","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_algo_orders","href":"/api-reference/orderbook/privateget_algo_orders"},{"title":"private/get_open_orders","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_open_orders","href":"/api-reference/orderbook/privateget_open_orders"},{"title":"private/get_order","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_order","href":"/api-reference/orderbook/privateget_order"},{"title":"private/get_trigger_orders","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_trigger_orders","href":"/api-reference/orderbook/privateget_trigger_orders"},{"title":"private/order","deprecated":null,"version":null,"openapi":"/openapi.json post /private/order","href":"/api-reference/orderbook/privateorder"},{"title":"private/order_debug","deprecated":null,"version":null,"openapi":"/openapi.json post /private/order_debug","href":"/api-reference/orderbook/privateorder_debug"},{"title":"private/order_quote","deprecated":null,"version":null,"openapi":"/openapi.json post /private/order_quote","href":"/api-reference/orderbook/privateorder_quote"},{"title":"private/replace","deprecated":null,"version":null,"openapi":"/openapi.json post /private/replace","href":"/api-reference/orderbook/privatereplace"},{"title":"public/order_quote","deprecated":null,"version":null,"openapi":"/openapi.json post /public/order_quote","href":"/api-reference/orderbook/publicorder_quote"}]},{"group":"RFQ","pages":[{"title":"private/cancel_batch_quotes","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel_batch_quotes","href":"/api-reference/rfq/privatecancel_batch_quotes"},{"title":"private/cancel_batch_rfqs","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel_batch_rfqs","href":"/api-reference/rfq/privatecancel_batch_rfqs"},{"title":"private/cancel_quote","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel_quote","href":"/api-reference/rfq/privatecancel_quote"},{"title":"private/cancel_rfq","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel_rfq","href":"/api-reference/rfq/privatecancel_rfq"},{"title":"private/execute_block_trade","deprecated":null,"version":null,"openapi":"/openapi.json post /private/execute_block_trade","href":"/api-reference/rfq/privateexecute_block_trade"},{"title":"private/execute_quote","deprecated":null,"version":null,"openapi":"/openapi.json post /private/execute_quote","href":"/api-reference/rfq/privateexecute_quote"},{"title":"private/get_block_trade","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_block_trade","href":"/api-reference/rfq/privateget_block_trade"},{"title":"private/get_block_trades","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_block_trades","href":"/api-reference/rfq/privateget_block_trades"},{"title":"private/get_maker_rfq_history","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_maker_rfq_history","href":"/api-reference/rfq/privateget_maker_rfq_history"},{"title":"private/get_quotes","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_quotes","href":"/api-reference/rfq/privateget_quotes"},{"title":"private/get_rfqs","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_rfqs","href":"/api-reference/rfq/privateget_rfqs"},{"title":"private/invalidate_block_trade_signature","deprecated":null,"version":null,"openapi":"/openapi.json post /private/invalidate_block_trade_signature","href":"/api-reference/rfq/privateinvalidate_block_trade_signature"},{"title":"private/poll_quotes","deprecated":null,"version":null,"openapi":"/openapi.json post /private/poll_quotes","href":"/api-reference/rfq/privatepoll_quotes"},{"title":"private/poll_rfqs","deprecated":null,"version":null,"openapi":"/openapi.json post /private/poll_rfqs","href":"/api-reference/rfq/privatepoll_rfqs"},{"title":"private/replace_quote","deprecated":null,"version":null,"openapi":"/openapi.json post /private/replace_quote","href":"/api-reference/rfq/privatereplace_quote"},{"title":"private/rfq_get_best_quote","deprecated":null,"version":null,"openapi":"/openapi.json post /private/rfq_get_best_quote","href":"/api-reference/rfq/privaterfq_get_best_quote"},{"title":"private/send_quote","deprecated":null,"version":null,"openapi":"/openapi.json post /private/send_quote","href":"/api-reference/rfq/privatesend_quote"},{"title":"private/send_rfq","description":"Taker-side call that opens a new RFQ for a multi-leg structure on a subaccount, inviting makers to quote it. You supply the legs (instrument, amount, and direction per leg) plus optional min/max total cost limits that filter only the best quote, a partial-fill step, a label, and a list of specific counterparties to restrict who can see it. Returns the created RFQ including its assigned id and validity window. Requires trade scope for every instrument in the legs.","deprecated":null,"version":null,"openapi":"/openapi.json post /private/send_rfq","href":"/api-reference/rfq/privatesend_rfq"},{"title":"private/simulate_block_trade","deprecated":null,"version":null,"openapi":"/openapi.json post /private/simulate_block_trade","href":"/api-reference/rfq/privatesimulate_block_trade"},{"title":"private/verify_block_trade","description":"Checks one signed side of a block trade for the caller's subaccount, as private/execute_block_trade would check it now: its signature, nonce and signature lifetime. Takes the signed side in the private/execute_block_trade shape and its role, maker or taker. Returns the total fee the side would pay, its initial margin before and after the trade, expires_at_sec, the last second at which the side can execute, and within_price_band, which is whether the total cost is inside the currency's RFQ price band for both sides, or null if the currency has no band. Fails with invalid_amount (11012) if a leg is smaller than 100 times its instrument's minimum_amount. A side without enough margin returns is_valid false and the reason, not an error. The side stays usable. Requires the block_trade off-chain scope.","deprecated":null,"version":null,"openapi":"/openapi.json post /private/verify_block_trade","href":"/api-reference/rfq/privateverify_block_trade"},{"title":"public/execute_quote_debug","deprecated":null,"version":null,"openapi":"/openapi.json post /public/execute_quote_debug","href":"/api-reference/rfq/publicexecute_quote_debug"},{"title":"public/send_quote_debug","deprecated":null,"version":null,"openapi":"/openapi.json post /public/send_quote_debug","href":"/api-reference/rfq/publicsend_quote_debug"}]},{"group":"Liquidations","pages":[{"title":"private/liquidate","deprecated":null,"version":null,"openapi":"/openapi.json post /private/liquidate","href":"/api-reference/liquidations/privateliquidate"},{"title":"public/get_liquidation_history","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_liquidation_history","href":"/api-reference/liquidations/publicget_liquidation_history"},{"title":"public/get_live_auctions","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_live_auctions","href":"/api-reference/liquidations/publicget_live_auctions"},{"title":"public/margin_watch","deprecated":null,"version":null,"openapi":"/openapi.json post /public/margin_watch","href":"/api-reference/liquidations/publicmargin_watch"}]},{"group":"Vault Shareholders","pages":[{"title":"private/cancel_all_vault_requests","deprecated":null,"version":null,"openapi":"/openapi.json post /private/cancel_all_vault_requests","href":"/api-reference/vault-shareholders/privatecancel_all_vault_requests"},{"title":"private/get_live_vault_requests","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_live_vault_requests","href":"/api-reference/vault-shareholders/privateget_live_vault_requests"},{"title":"private/get_shareholder_vaults","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_shareholder_vaults","href":"/api-reference/vault-shareholders/privateget_shareholder_vaults"},{"title":"private/get_vault_request_history","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_vault_request_history","href":"/api-reference/vault-shareholders/privateget_vault_request_history"},{"title":"private/get_vault_shares","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_vault_shares","href":"/api-reference/vault-shareholders/privateget_vault_shares"},{"title":"private/request_vault_deposit","deprecated":null,"version":null,"openapi":"/openapi.json post /private/request_vault_deposit","href":"/api-reference/vault-shareholders/privaterequest_vault_deposit"},{"title":"private/request_vault_withdraw","deprecated":null,"version":null,"openapi":"/openapi.json post /private/request_vault_withdraw","href":"/api-reference/vault-shareholders/privaterequest_vault_withdraw"},{"title":"public/get_vault","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_vault","href":"/api-reference/vault-shareholders/publicget_vault"},{"title":"public/get_vault_action_history","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_vault_action_history","href":"/api-reference/vault-shareholders/publicget_vault_action_history"},{"title":"public/get_vault_performance_history","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_vault_performance_history","href":"/api-reference/vault-shareholders/publicget_vault_performance_history"},{"title":"public/get_vaults","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_vaults","href":"/api-reference/vault-shareholders/publicget_vaults"}]},{"group":"Vault Curators","pages":[{"title":"private/burn_vault_shares","deprecated":null,"version":null,"openapi":"/openapi.json post /private/burn_vault_shares","href":"/api-reference/vault-curators/privateburn_vault_shares"},{"title":"private/create_vault","deprecated":null,"version":null,"openapi":"/openapi.json post /private/create_vault","href":"/api-reference/vault-curators/privatecreate_vault"},{"title":"private/force_burn","deprecated":null,"version":null,"openapi":"/openapi.json post /private/force_burn","href":"/api-reference/vault-curators/privateforce_burn"},{"title":"private/get_curated_vaults","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_curated_vaults","href":"/api-reference/vault-curators/privateget_curated_vaults"},{"title":"private/get_live_burn_requests","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_live_burn_requests","href":"/api-reference/vault-curators/privateget_live_burn_requests"},{"title":"private/get_live_mint_requests","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_live_mint_requests","href":"/api-reference/vault-curators/privateget_live_mint_requests"},{"title":"private/mint_vault_shares","deprecated":null,"version":null,"openapi":"/openapi.json post /private/mint_vault_shares","href":"/api-reference/vault-curators/privatemint_vault_shares"},{"title":"private/reject_deposit_request","deprecated":null,"version":null,"openapi":"/openapi.json post /private/reject_deposit_request","href":"/api-reference/vault-curators/privatereject_deposit_request"},{"title":"private/update_vault_info","deprecated":null,"version":null,"openapi":"/openapi.json post /private/update_vault_info","href":"/api-reference/vault-curators/privateupdate_vault_info"}]},{"group":"History","pages":[{"title":"private/get_deposit_history","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_deposit_history","href":"/api-reference/history/privateget_deposit_history"},{"title":"private/get_erc20_transfer_history","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_erc20_transfer_history","href":"/api-reference/history/privateget_erc20_transfer_history"},{"title":"private/get_funding_history","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_funding_history","href":"/api-reference/history/privateget_funding_history"},{"title":"private/get_interest_history","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_interest_history","href":"/api-reference/history/privateget_interest_history"},{"title":"private/get_option_settlement_history","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_option_settlement_history","href":"/api-reference/history/privateget_option_settlement_history"},{"title":"private/get_order_history","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_order_history","href":"/api-reference/history/privateget_order_history"},{"title":"private/get_trade_history","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_trade_history","href":"/api-reference/history/privateget_trade_history"},{"title":"private/get_withdrawal_history","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_withdrawal_history","href":"/api-reference/history/privateget_withdrawal_history"}]},{"group":"Market Maker Protection","pages":[{"title":"private/get_mmp_config","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_mmp_config","href":"/api-reference/market-maker-protection/privateget_mmp_config"},{"title":"private/reset_mmp","deprecated":null,"version":null,"openapi":"/openapi.json post /private/reset_mmp","href":"/api-reference/market-maker-protection/privatereset_mmp"},{"title":"private/set_mmp_config","deprecated":null,"version":null,"openapi":"/openapi.json post /private/set_mmp_config","href":"/api-reference/market-maker-protection/privateset_mmp_config"}]},{"group":"Transfers \u0026 Withdrawals","pages":[{"title":"private/transfer_positions","deprecated":null,"version":null,"openapi":"/openapi.json post /private/transfer_positions","href":"/api-reference/transfers-\u0026-withdrawals/privatetransfer_positions"},{"title":"private/transfer_positions_debug","deprecated":null,"version":null,"openapi":"/openapi.json post /private/transfer_positions_debug","href":"/api-reference/transfers-\u0026-withdrawals/privatetransfer_positions_debug"},{"title":"private/transfer_spot","deprecated":null,"version":null,"openapi":"/openapi.json post /private/transfer_spot","href":"/api-reference/transfers-\u0026-withdrawals/privatetransfer_spot"},{"title":"private/transfer_spot_debug","deprecated":null,"version":null,"openapi":"/openapi.json post /private/transfer_spot_debug","href":"/api-reference/transfers-\u0026-withdrawals/privatetransfer_spot_debug"},{"title":"private/transfer_spot_external","deprecated":null,"version":null,"openapi":"/openapi.json post /private/transfer_spot_external","href":"/api-reference/transfers-\u0026-withdrawals/privatetransfer_spot_external"},{"title":"private/transfer_spot_external_debug","deprecated":null,"version":null,"openapi":"/openapi.json post /private/transfer_spot_external_debug","href":"/api-reference/transfers-\u0026-withdrawals/privatetransfer_spot_external_debug"},{"title":"private/update_whitelisted_recipients","deprecated":null,"version":null,"openapi":"/openapi.json post /private/update_whitelisted_recipients","href":"/api-reference/transfers-\u0026-withdrawals/privateupdate_whitelisted_recipients"},{"title":"private/update_whitelisted_recipients_debug","deprecated":null,"version":null,"openapi":"/openapi.json post /private/update_whitelisted_recipients_debug","href":"/api-reference/transfers-\u0026-withdrawals/privateupdate_whitelisted_recipients_debug"},{"title":"private/withdraw","deprecated":null,"version":null,"openapi":"/openapi.json post /private/withdraw","href":"/api-reference/transfers-\u0026-withdrawals/privatewithdraw"},{"title":"public/withdraw_debug","deprecated":null,"version":null,"openapi":"/openapi.json post /public/withdraw_debug","href":"/api-reference/transfers-\u0026-withdrawals/publicwithdraw_debug"}]},{"group":"Onchain Actions","pages":[{"title":"private/get_withdraw_addresses","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_withdraw_addresses","href":"/api-reference/onchain-actions/privateget_withdraw_addresses"},{"title":"private/register_bridge_deposit","deprecated":null,"version":null,"openapi":"/openapi.json post /private/register_bridge_deposit","href":"/api-reference/onchain-actions/privateregister_bridge_deposit"},{"title":"private/register_withdraw_address","deprecated":null,"version":null,"openapi":"/openapi.json post /private/register_withdraw_address","href":"/api-reference/onchain-actions/privateregister_withdraw_address"},{"title":"public/get_onchain_action_history","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_onchain_action_history","href":"/api-reference/onchain-actions/publicget_onchain_action_history"},{"title":"public/get_pending_deposits","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_pending_deposits","href":"/api-reference/onchain-actions/publicget_pending_deposits"},{"title":"public/register_deposit_address","deprecated":null,"version":null,"openapi":"/openapi.json post /public/register_deposit_address","href":"/api-reference/onchain-actions/publicregister_deposit_address"}]},{"group":"System","pages":[{"title":"public/decode_action","deprecated":null,"version":null,"openapi":"/openapi.json post /public/decode_action","href":"/api-reference/system/publicdecode_action"},{"title":"public/getRateLimits","deprecated":null,"version":null,"openapi":"/openapi.json post /public/getRateLimits","href":"/api-reference/system/publicgetratelimits"},{"title":"public/get_live_incidents","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_live_incidents","href":"/api-reference/system/publicget_live_incidents"},{"title":"public/get_time","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_time","href":"/api-reference/system/publicget_time"},{"title":"public/get_transaction","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_transaction","href":"/api-reference/system/publicget_transaction"}]},{"group":"Market Data","pages":[{"title":"public/get_all_currencies","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_all_currencies","href":"/api-reference/market-data/publicget_all_currencies"},{"title":"public/get_all_instruments","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_all_instruments","href":"/api-reference/market-data/publicget_all_instruments"},{"title":"public/get_all_live_instruments","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_all_live_instruments","href":"/api-reference/market-data/publicget_all_live_instruments"},{"title":"public/get_currency","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_currency","href":"/api-reference/market-data/publicget_currency"},{"title":"public/get_funding_rate_history","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_funding_rate_history","href":"/api-reference/market-data/publicget_funding_rate_history"},{"title":"public/get_index_chart_data","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_index_chart_data","href":"/api-reference/market-data/publicget_index_chart_data"},{"title":"public/get_instrument","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_instrument","href":"/api-reference/market-data/publicget_instrument"},{"title":"public/get_interest_rate_history","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_interest_rate_history","href":"/api-reference/market-data/publicget_interest_rate_history"},{"title":"public/get_latest_signed_feeds","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_latest_signed_feeds","href":"/api-reference/market-data/publicget_latest_signed_feeds"},{"title":"public/get_option_settlement_prices","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_option_settlement_prices","href":"/api-reference/market-data/publicget_option_settlement_prices"},{"title":"public/get_perp_impact_twap","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_perp_impact_twap","href":"/api-reference/market-data/publicget_perp_impact_twap"},{"title":"public/get_risk_universes","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_risk_universes","href":"/api-reference/market-data/publicget_risk_universes"},{"title":"public/get_ticker","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_ticker","href":"/api-reference/market-data/publicget_ticker"},{"title":"public/get_tickers","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_tickers","href":"/api-reference/market-data/publicget_tickers"},{"title":"public/get_trade_history","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_trade_history","href":"/api-reference/market-data/publicget_trade_history"},{"title":"public/get_tradingview_chart_data","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_tradingview_chart_data","href":"/api-reference/market-data/publicget_tradingview_chart_data"}]},{"group":"Maker Scoring","pages":[{"title":"public/get_maker_program_scores","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_maker_program_scores","href":"/api-reference/maker-scoring/publicget_maker_program_scores"},{"title":"public/get_maker_programs","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_maker_programs","href":"/api-reference/maker-scoring/publicget_maker_programs"}]},{"group":"Referrals","pages":[{"title":"public/get_all_referral_codes","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_all_referral_codes","href":"/api-reference/referrals/publicget_all_referral_codes"},{"title":"public/get_referral_performance","deprecated":null,"version":null,"openapi":"/openapi.json post /public/get_referral_performance","href":"/api-reference/referrals/publicget_referral_performance"}]},{"group":"Chat","pages":[{"title":"private/get_chat_rooms","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_chat_rooms","href":"/api-reference/chat/privateget_chat_rooms"},{"title":"private/get_concierge_messages","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_concierge_messages","href":"/api-reference/chat/privateget_concierge_messages"},{"title":"private/get_room_messages","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_room_messages","href":"/api-reference/chat/privateget_room_messages"},{"title":"private/mark_concierge_seen","deprecated":null,"version":null,"openapi":"/openapi.json post /private/mark_concierge_seen","href":"/api-reference/chat/privatemark_concierge_seen"},{"title":"private/send_concierge_message","deprecated":null,"version":null,"openapi":"/openapi.json post /private/send_concierge_message","href":"/api-reference/chat/privatesend_concierge_message"},{"title":"private/send_room_message","deprecated":null,"version":null,"openapi":"/openapi.json post /private/send_room_message","href":"/api-reference/chat/privatesend_room_message"}]},{"group":"Other","pages":[{"title":"private/get_subaccount_value_history","deprecated":null,"version":null,"openapi":"/openapi.json post /private/get_subaccount_value_history","href":"/api-reference/other/privateget_subaccount_value_history"}]}]},{"group":"WS-only Methods","pages":[{"group":"Methods","pages":[{"asyncapi":"websocket.asyncapi.json publicLogin","href":"/api-reference/methods/authenticate-a-websocket-connection","title":"Authenticate a WebSocket connection","version":null},{"asyncapi":"websocket.asyncapi.json subscribe","href":"/api-reference/methods/subscribe-to-notification-channels","title":"Subscribe to notification channels","version":null},{"asyncapi":"websocket.asyncapi.json unsubscribe","href":"/api-reference/methods/unsubscribe-from-notification-channels","title":"Unsubscribe from notification channels","version":null},{"asyncapi":"websocket.asyncapi.json privateSetCancelOnDisconnect","href":"/api-reference/methods/enable-or-disable-cancel-on-disconnect","title":"Enable or disable cancel on disconnect","version":null}]}]},{"group":"WS Subscriptions","pages":[{"group":"Channels","pages":[{"asyncapi":"subscriptions.asyncapi.json auctionsWatch","href":"/api-reference/channels/auctionswatch","title":"Auctions watch","version":null},{"asyncapi":"subscriptions.asyncapi.json chatRoom","href":"/api-reference/channels/chatroom","title":"Chat room","version":null},{"asyncapi":"subscriptions.asyncapi.json marginWatch","href":"/api-reference/channels/marginwatch","title":"Margin watch","version":null},{"asyncapi":"subscriptions.asyncapi.json orderbook","href":"/api-reference/channels/orderbook","title":"Orderbook","version":null},{"asyncapi":"subscriptions.asyncapi.json spotFeed","href":"/api-reference/channels/spotfeed","title":"Spot feed","version":null},{"asyncapi":"subscriptions.asyncapi.json subaccountBalances","href":"/api-reference/channels/subaccountbalances","title":"Subaccount balances","version":null},{"asyncapi":"subscriptions.asyncapi.json subaccountBestQuotes","href":"/api-reference/channels/subaccountbestquotes","title":"Subaccount best quotes","version":null},{"asyncapi":"subscriptions.asyncapi.json subaccountOrders","href":"/api-reference/channels/subaccountorders","title":"Subaccount orders","version":null},{"asyncapi":"subscriptions.asyncapi.json subaccountQuotes","href":"/api-reference/channels/subaccountquotes","title":"Subaccount quotes","version":null},{"asyncapi":"subscriptions.asyncapi.json subaccountTrades","href":"/api-reference/channels/subaccounttrades","title":"Subaccount trades","version":null},{"asyncapi":"subscriptions.asyncapi.json tickerSlim","href":"/api-reference/channels/tickerslim","title":"Ticker slim","version":null},{"asyncapi":"subscriptions.asyncapi.json tradesByInstrument","href":"/api-reference/channels/tradesbyinstrument","title":"Trades by instrument","version":null},{"asyncapi":"subscriptions.asyncapi.json tradesByInstrumentTypeCurrency","href":"/api-reference/channels/tradesbyinstrumenttypecurrency","title":"Trades by instrument type currency","version":null},{"asyncapi":"subscriptions.asyncapi.json walletConcierge","href":"/api-reference/channels/walletconcierge","title":"Wallet concierge","version":null},{"asyncapi":"subscriptions.asyncapi.json walletRfqs","href":"/api-reference/channels/walletrfqs","title":"Wallet rfqs","version":null}]}]}]},{"tab":"Migrating from V2","pages":[{"title":"Migrating from V2","href":"/migrating/v3-improvements"}]},{"tab":"Mechanism","pages":[{"title":"Mechanism","href":"/supported-products"}]},{"tab":"Integrators \u0026 Market Makers","pages":[{"title":"Integrators \u0026 Market Makers","href":"/integrators/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"private/simulate_block_trade - Derive API","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-DTNSD-0M.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}