{
"success": false,
"error": "Quote request not found or expired"
}
{
"success": false,
"error": "Quote request not found or expired"
}
{
"success": false,
"error": "Quote request not found or expired"
}
{
"success": false,
"error": "Quote request not found or expired"
}
{
"success": false,
"error": "Quote request not found or expired"
}
Trading
Commit to Quote
Commit to the best quote on an open quote request. The relay selects the winner, signs an EIP-712 Order, and returns everything needed for on-chain fill().
{
"success": false,
"error": "Quote request not found or expired"
}
{
"success": false,
"error": "Quote request not found or expired"
}
{
"success": false,
"error": "Quote request not found or expired"
}
{
"success": false,
"error": "Quote request not found or expired"
}
{
"success": false,
"error": "Quote request not found or expired"
}
Commit to the best available quote on an open quote request. The relay selects the best valid quote, resolves the option seriesId, builds the exact EIP-712 Order, and emits a quote:accepted message to the winning market maker over the post-trade WebSocket, starting a confirmation deadline (MAKER_CONFIRMATION_MS, default 10s).Market makers are independent — the backend does not post collateral, set approvals, or sign on their behalf. The winning maker signs the order with its own wallet key and submits the signature over REST (POST /v1/mm/quotes/{quoteId}/confirm), which the backend verifies recovers to order.maker.The successful response contains everything the taker needs to call fill() on ConvallaxRFQSettlement for atomic mint-on-fill settlement, including the single USDC approval the taker must make first (onchain.takerApproval).
Confirmation handshake. This request blocks until a maker confirms. If the winning maker misses its deadline, the backend falls back to the next-best maker’s quote. If no maker confirms in time, the request stays open and the call returns HTTP 503 so the taker can retry.
If the on-chain environment is not configured, the relay returns a simulated execution response (mode: "simulated") with no onchain block.
Before calling fill(), the taker makes exactly one USDC approval as described by onchain.takerApproval: approve takerApproval.spender for takerApproval.amount. For a long fill this is the settlement contract (premium); for a short fill it is the core contract (collateral). The maker has already pre-approved its own side.
Path Parameters
id
string
required
The requestId returned by Create Quote Request.
Example:
"req-789"
Body
application/json
wallet
string
required
Taker wallet (checksummed). Set as taker in the order — only this wallet can call fill().
Example:
"0xTrader0000000000000000000000000000000000"
Response
Order signed by the winning maker (or simulated execution)
success
boolean
message
string
Example:
"Order signed by maker — call fill() on-chain"
mode
enum<string>
Available options:
onchain,
simulated
Example:
"onchain"
quote
object
A market maker quote as exposed to takers.
Show child attributes
execution
object
Show child attributes
onchain
object
Everything needed for on-chain fill(). Present only when mode is "onchain".
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Convallax","description":"Convallax is the options layer for prediction markets — trade European calls and puts on Polymarket YES outcomes, collateralized in USDC, settled on Polygon.","colors":{"primary":"#A855F7","light":"#C084FC","dark":"#9333EA"},"logo":{"light":"https://mintcdn.com/convallax/EfbaNSCzHCr8RfdN/logo/dark.png?fit=max\u0026auto=format\u0026n=EfbaNSCzHCr8RfdN\u0026q=85\u0026s=46f032f45116829cce33a65d6f4a3af8","dark":"https://mintcdn.com/convallax/EfbaNSCzHCr8RfdN/logo/dark.png?fit=max\u0026auto=format\u0026n=EfbaNSCzHCr8RfdN\u0026q=85\u0026s=46f032f45116829cce33a65d6f4a3af8","href":"https://convallax.com"},"favicon":"https://mintcdn.com/convallax/TgIfzvMM3Adfdj-H/logo/favicon.png?fit=max\u0026auto=format\u0026n=TgIfzvMM3Adfdj-H\u0026q=85\u0026s=4cdd797cbd7ca06bb2611d5e3ce29edd","appearance":{"default":"dark","strict":true},"navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://convallax.com/predict"}},"footer":{"socials":{"x":"https://x.com/convallax","github":"https://github.com/convallax"}},"contextual":{"options":["copy","view","chatgpt","claude","download-spec"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"convallax","hasAudioNarration":false,"actualSubdomain":"convallax","customDomains":["docs.convallax.com"],"gitSource":{"type":"github","owner":"kushal613","repo":"convallax","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae95a1290e885ae1a905e50:success","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API Reference","count":24},{"language":"default","tag":"Guides","count":15},{"language":"default","tag":"Getting Started","count":15},{"language":"default","tag":"Market Maker","count":5},{"language":"default","tag":"On-Chain Contracts","count":4},{"language":"default","tag":"Trading","count":4},{"language":"default","tag":"User","count":4},{"language":"default","tag":"Series","count":3},{"language":"default","tag":"Testnet","count":2},{"language":"default","tag":"Overview","count":1}]},"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":"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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/trading/commit","slug":"/api-reference/trading/commit","pageMetadata":{"title":"Commit to Quote","description":"Commit to the best quote on an open quote request. The relay selects the winner, signs an EIP-712 Order, and returns everything needed for on-chain fill().","openapi":"api-reference/openapi.json POST /quote-requests/{id}/commit","href":"/api-reference/trading/commit"},"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: \"Commit to the best quote on an open quote request. The relay selects the winner, signs an EIP-712 Order, and returns everything needed for on-chain fill().\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Info,Note,Warning}=_components;if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Commit to the best available quote on an open quote request. The relay selects the best valid quote, resolves the option `,_jsx(_components.code,{children:`seriesId`}),`, builds the exact EIP-712 `,_jsx(_components.code,{children:`Order`}),`, and emits a `,_jsx(_components.a,{href:`/api-reference/market-maker/websocket`,children:_jsx(_components.code,{children:`quote:accepted`})}),` message to the `,_jsx(_components.strong,{children:`winning market maker`}),` over the post-trade WebSocket, starting a confirmation deadline (`,_jsx(_components.code,{children:`MAKER_CONFIRMATION_MS`}),`, default 10s).`]}),`\n`,_jsxs(_components.p,{children:[`Market makers are `,_jsx(_components.strong,{children:`independent`}),` — the backend does not post collateral, set approvals, or sign on their behalf. The winning maker signs the order with its own wallet key and submits the signature over REST (`,_jsx(_components.a,{href:`/api-reference/market-maker/confirm-quote`,children:_jsx(_components.code,{children:`POST /v1/mm/quotes/{quoteId}/confirm`})}),`), which the backend verifies recovers to `,_jsx(_components.code,{children:`order.maker`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The successful response contains everything the taker needs to call `,_jsx(_components.a,{href:`/api-reference/contracts/fill`,children:_jsx(_components.code,{children:`fill()`})}),` on `,_jsx(_components.code,{children:`ConvallaxRFQSettlement`}),` for atomic mint-on-fill settlement, including the single USDC approval the taker must make first (`,_jsx(_components.code,{children:`onchain.takerApproval`}),`).`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Confirmation handshake.`}),` This request blocks until a maker confirms. If the winning maker misses its deadline, the backend falls back to the next-best maker’s quote. If no maker confirms in time, the request stays open and the call returns HTTP `,_jsx(_components.code,{children:`503`}),` so the taker can retry.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`If the on-chain environment is not configured, the relay returns a simulated execution response (`,_jsx(_components.code,{children:`mode: \"simulated\"`}),`) with no `,_jsx(_components.code,{children:`onchain`}),` block.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Before calling `,_jsx(_components.code,{children:`fill()`})]}),`, the taker makes exactly one USDC approval as described by `,_jsx(_components.code,{children:`onchain.takerApproval`}),`: approve `,_jsx(_components.code,{children:`takerApproval.spender`}),` for `,_jsx(_components.code,{children:`takerApproval.amount`}),`. For a long fill this is the `,_jsx(_components.strong,{children:`settlement`}),` contract (premium); for a short fill it is the `,_jsx(_components.strong,{children:`core`}),` contract (collateral). The maker has already pre-approved its own side.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Commit to Quote","description":"Commit to the best quote on an open quote request. The relay selects the winner, signs an EIP-712 Order, and returns everything needed for on-chain fill().","openapi":"api-reference/openapi.json POST /quote-requests/{id}/commit","href":"/api-reference/trading/commit"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"commitQuote","tags":["Trading"],"summary":"Commit to Quote","description":"Commit to the best quote on an open quote request. The relay selects the winner, signs an EIP-712 Order, and returns everything needed for on-chain fill().","parameters":["97caae40-0a00-4779-ae14-ecf753a6cc51"],"requestBody":"5d77bf2d-1f96-4de1-a0e9-32c627b9e8fa","responses":{"200":"beedcc32-adca-4770-8d7a-fd7c915032dc","400":"bb67a4ce-7d16-4c2a-929c-7763a7e1d2fd","404":"81a7b6d2-0965-45bc-b965-33c314adfb6a","409":"1498691b-4c83-4d69-a511-bc72d3be7e7b","502":"0c723a73-1b2f-4ff0-a211-28bdff80bd4c","503":"17661b62-9a80-46fa-860e-4f517d963b99"},"method":"post","type":"path","servers":["5a4dd3f3-2715-4fd8-b89c-8739c387b41f"],"security":[],"path":"/quote-requests/{id}/commit","baseUrlOptions":["https://api.convallax.com"],"title":"Commit to Quote","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"97caae40-0a00-4779-ae14-ecf753a6cc51":{"name":"id","in":"path","required":true,"description":"The `requestId` returned by Create Quote Request.","schema":{"type":"string","example":"req-789","isRequired":true,"description":"The `requestId` returned by Create Quote Request.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["wallet"],"properties":{"wallet":{"type":"string","description":"Taker wallet (checksummed). Set as `taker` in the order — only this wallet can call `fill()`.","example":"0xTrader0000000000000000000000000000000000","isRequired":true,"uniqueKey":"wallet","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"wallet":"0xTrader0000000000000000000000000000000000"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"beedcc32-adca-4770-8d7a-fd7c915032dc":{"description":"Order signed by the winning maker (or simulated execution)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","const":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","example":"Order signed by maker — call fill() on-chain","uniqueKey":"message","typeLabel":"string"},"mode":{"type":"string","enum":["onchain","simulated"],"example":"onchain","uniqueKey":"mode","typeLabel":"enum\u003cstring>"},"quote":{"type":"object","description":"A market maker quote as exposed to takers.","properties":{"maker_id":{"type":"string","description":"Identifier of the market maker.","example":"mm-alpha","uniqueKey":"quote.maker_id","typeLabel":"string"},"quote_id":{"type":"string","description":"Server-generated quote ID.","example":"8f3c2b1a-1d2e-4c3b-9a8f-6e5d4c3b2a1f","uniqueKey":"quote.quote_id","typeLabel":"string"},"maker":{"type":"string","description":"Maker wallet address (becomes `Order.maker`).","example":"0x1234000000000000000000000000000000abcd","uniqueKey":"quote.maker","typeLabel":"string"},"side":{"type":"string","enum":["buy","sell"],"example":"buy","uniqueKey":"quote.side","typeLabel":"enum\u003cstring>"},"price":{"type":"number","description":"Price per option in (0, 1).","example":0.12,"uniqueKey":"quote.price","typeLabel":"number"},"size":{"type":"number","example":10,"uniqueKey":"quote.size","typeLabel":"number"},"expires_in_ms":{"type":"number","example":5000,"uniqueKey":"quote.expires_in_ms","typeLabel":"number"}},"uniqueKey":"quote","typeLabel":"object"},"execution":{"type":"object","properties":{"execution_id":{"type":"string","example":"e1f2a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a6b","uniqueKey":"execution.execution_id","typeLabel":"string"},"request_id":{"type":"string","example":"req-789","uniqueKey":"execution.request_id","typeLabel":"string"},"quote_id":{"oneOf":[{"type":"string","example":"8f3c2b1a-1d2e-4c3b-9a8f-6e5d4c3b2a1f","uniqueKey":"execution.quote_id.oneOf.0","typeLabel":"string"},{"type":"null","example":"8f3c2b1a-1d2e-4c3b-9a8f-6e5d4c3b2a1f","uniqueKey":"execution.quote_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.quote_id","typeLabel":"string | null"},"maker_id":{"oneOf":[{"type":"string","example":"mm-alpha","uniqueKey":"execution.maker_id.oneOf.0","typeLabel":"string"},{"type":"null","example":"mm-alpha","uniqueKey":"execution.maker_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.maker_id","typeLabel":"string | null"},"executed_at":{"type":"string","format":"date-time","example":"2026-06-15T12:00:01.234Z","uniqueKey":"execution.executed_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"execution","typeLabel":"object"},"onchain":{"type":"object","description":"Everything needed for on-chain fill(). Present only when mode is \"onchain\".","properties":{"settlementAddress":{"type":"string","example":"0x3E583BC44157c91F8c534372A3e91c371841107A","uniqueKey":"onchain.settlementAddress","typeLabel":"string"},"coreAddress":{"type":"string","example":"0x76c41a03e0993F0261bB3B1949320cA693f76faE","uniqueKey":"onchain.coreAddress","typeLabel":"string"},"order":{"type":"object","description":"EIP-712 Order struct.","properties":{"maker":{"type":"string","example":"0x1234000000000000000000000000000000abcd","uniqueKey":"onchain.order.maker","typeLabel":"string"},"seriesId":{"type":"string","description":"Option series ID (= ERC-1155 token ID), decimal string.","example":"98765432109876543210","uniqueKey":"onchain.order.seriesId","typeLabel":"string"},"optionAmount":{"type":"string","description":"Option tokens, raw units (6 decimals), decimal string.","example":"10000000","uniqueKey":"onchain.order.optionAmount","typeLabel":"string"},"premiumAmount":{"type":"string","description":"USDC premium, raw units (6 decimals), decimal string.","example":"1200000","uniqueKey":"onchain.order.premiumAmount","typeLabel":"string"},"makerSelling":{"type":"boolean","description":"True = maker sells options to taker; false = maker buys.","example":true,"uniqueKey":"onchain.order.makerSelling","typeLabel":"boolean"},"taker":{"type":"string","example":"0xTrader0000000000000000000000000000000000","uniqueKey":"onchain.order.taker","typeLabel":"string"},"validUntil":{"type":"integer","description":"Order expiry (Unix seconds).","example":1717189320,"uniqueKey":"onchain.order.validUntil","typeLabel":"integer"},"nonce":{"type":"integer","description":"Single-use replay-protection nonce.","example":1717189200042,"uniqueKey":"onchain.order.nonce","typeLabel":"integer"}},"uniqueKey":"onchain.order","typeLabel":"object"},"makerSignature":{"type":"string","description":"EIP-712 signature by the maker (recovers to order.maker).","example":"0xabcdef...","uniqueKey":"onchain.makerSignature","typeLabel":"string"},"domain":{"type":"object","properties":{"name":{"type":"string","example":"ConvallaxRFQSettlement","uniqueKey":"onchain.domain.name","typeLabel":"string"},"version":{"type":"string","example":"1","uniqueKey":"onchain.domain.version","typeLabel":"string"},"chainId":{"type":"integer","example":80002,"uniqueKey":"onchain.domain.chainId","typeLabel":"integer"},"verifyingContract":{"type":"string","example":"0x3E583BC44157c91F8c534372A3e91c371841107A","uniqueKey":"onchain.domain.verifyingContract","typeLabel":"string"}},"uniqueKey":"onchain.domain","typeLabel":"object"},"chainId":{"type":"integer","example":80002,"uniqueKey":"onchain.chainId","typeLabel":"integer"},"takerApproval":{"type":"object","description":"The single USDC approval the taker must make before calling fill().","properties":{"spender":{"type":"string","description":"Settlement address (premium, long) or Core address (collateral, short).","example":"0x3E583BC44157c91F8c534372A3e91c371841107A","uniqueKey":"onchain.takerApproval.spender","typeLabel":"string"},"amount":{"type":"string","description":"USDC amount to approve, raw units (6 decimals).","example":"1200000","uniqueKey":"onchain.takerApproval.amount","typeLabel":"string"},"reason":{"type":"string","enum":["premium","collateral"],"example":"premium","uniqueKey":"onchain.takerApproval.reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"onchain.takerApproval","typeLabel":"object"}},"uniqueKey":"onchain","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"message":"Order signed by maker — call fill() on-chain","mode":"onchain","quote":{"maker_id":"mm-alpha","quote_id":"8f3c2b1a-1d2e-4c3b-9a8f-6e5d4c3b2a1f","maker":"0x1234000000000000000000000000000000abcd","side":"buy","price":0.12,"size":10,"expires_in_ms":5000},"execution":{"execution_id":"e1f2a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a6b","request_id":"req-789","quote_id":"8f3c2b1a-1d2e-4c3b-9a8f-6e5d4c3b2a1f","maker_id":"mm-alpha","executed_at":"2026-06-15T12:00:01.234Z"},"onchain":{"settlementAddress":"0x3E583BC44157c91F8c534372A3e91c371841107A","coreAddress":"0x76c41a03e0993F0261bB3B1949320cA693f76faE","order":{"maker":"0x1234000000000000000000000000000000abcd","seriesId":"98765432109876543210","optionAmount":"10000000","premiumAmount":"1200000","makerSelling":true,"taker":"0xTrader0000000000000000000000000000000000","validUntil":1717189320,"nonce":1717189200042},"makerSignature":"0xabcdef...","domain":{"name":"ConvallaxRFQSettlement","version":"1","chainId":80002,"verifyingContract":"0x3E583BC44157c91F8c534372A3e91c371841107A"},"chainId":80002,"takerApproval":{"spender":"0x3E583BC44157c91F8c534372A3e91c371841107A","amount":"1200000","reason":"premium"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"bb67a4ce-7d16-4c2a-929c-7763a7e1d2fd":{"description":"Error","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message.","example":"Quote request not found or expired","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Quote request not found or expired"}}},"exampleType":"generated"}},"exampleType":"generated"},"81a7b6d2-0965-45bc-b965-33c314adfb6a":{"description":"Error","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message.","example":"Quote request not found or expired","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Quote request not found or expired"}}},"exampleType":"generated"}},"exampleType":"generated"},"1498691b-4c83-4d69-a511-bc72d3be7e7b":{"description":"Error","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message.","example":"Quote request not found or expired","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Quote request not found or expired"}}},"exampleType":"generated"}},"exampleType":"generated"},"0c723a73-1b2f-4ff0-a211-28bdff80bd4c":{"description":"Error","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message.","example":"Quote request not found or expired","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Quote request not found or expired"}}},"exampleType":"generated"}},"exampleType":"generated"},"17661b62-9a80-46fa-860e-4f517d963b99":{"description":"No market maker confirmed in time — the request stays open; retry.","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message.","example":"Quote request not found or expired","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Quote request not found or expired"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"5a4dd3f3-2715-4fd8-b89c-8739c387b41f":{"url":"https://api.convallax.com","description":"Production"}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"convallax","siteName":"Convallax","title":"Commit to Quote - Convallax","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-17T02:34:00.426Z","originalFileLocation":"api-reference/trading/commit.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";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=\"dark\"}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=\"Commit to the best quote on an open quote request. The relay selects the winner, signs an EIP-712 Order, and returns everything needed for on-chain fill().\">\u003cmeta data-mint-head name=\"application-name\" content=\"Convallax\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/convallax/jYqvBhugEMAemu4O/_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/convallax/jYqvBhugEMAemu4O/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/convallax/jYqvBhugEMAemu4O/_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/convallax/jYqvBhugEMAemu4O/_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/convallax/jYqvBhugEMAemu4O/_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/convallax/jYqvBhugEMAemu4O/_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/convallax/jYqvBhugEMAemu4O/_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/convallax/jYqvBhugEMAemu4O/_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/convallax/jYqvBhugEMAemu4O/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Commit to Quote - Convallax\">\u003cmeta data-mint-head property=\"og:description\" content=\"Commit to the best quote on an open quote request. The relay selects the winner, signs an EIP-712 Order, and returns everything needed for on-chain fill().\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Convallax\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.convallax.com/api-reference/trading/commit\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://convallax.mintlify.site/_mintlify/api/og/v2?division=Trading\u0026amp;title=Commit+to+Quote\u0026amp;description=Commit+to+the+best+quote+on+an+open+quote+request.+The+relay+selects+the+winner%2C+signs+an+EIP-712+Order%2C+and+returns+everything+needed+for+on-chain+fill%28%29.\u0026amp;theme=4f85f54083af9e9071310874\u0026amp;signature=2a87f15c54ccf0ead634c02a14b73fa2d0348d20cd9abf0e9228b4d3bb2abc27\">\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=\"Commit to Quote - Convallax\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Commit to the best quote on an open quote request. The relay selects the winner, signs an EIP-712 Order, and returns everything needed for on-chain fill().\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://convallax.mintlify.site/_mintlify/api/og/v2?division=Trading\u0026amp;title=Commit+to+Quote\u0026amp;description=Commit+to+the+best+quote+on+an+open+quote+request.+The+relay+selects+the+winner%2C+signs+an+EIP-712+Order%2C+and+returns+everything+needed+for+on-chain+fill%28%29.\u0026amp;theme=4f85f54083af9e9071310874\u0026amp;signature=2a87f15c54ccf0ead634c02a14b73fa2d0348d20cd9abf0e9228b4d3bb2abc27\">\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/convallax/jYqvBhugEMAemu4O/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Convallax\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#A855F7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.convallax.com/api-reference/trading/commit\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/trading/commit.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.convallax.com/#organization\",\"name\":\"Convallax\",\"url\":\"https://docs.convallax.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/convallax/EfbaNSCzHCr8RfdN/logo/dark.png?fit=max\u0026auto=format\u0026n=EfbaNSCzHCr8RfdN\u0026q=85\u0026s=46f032f45116829cce33a65d6f4a3af8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.convallax.com#website\",\"name\":\"Convallax\",\"url\":\"https://docs.convallax.com\",\"publisher\":{\"@id\":\"https://docs.convallax.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.convallax.com/api-reference/trading/commit#webpage\",\"url\":\"https://docs.convallax.com/api-reference/trading/commit\",\"name\":\"Commit to Quote\",\"description\":\"Commit to the best quote on an open quote request. The relay selects the winner, signs an EIP-712 Order, and returns everything needed for on-chain fill().\",\"dateModified\":\"2026-06-17T02:34:00.426Z\",\"isPartOf\":{\"@id\":\"https://docs.convallax.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.convallax.com/api-reference/trading/commit#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.convallax.com/api-reference/trading/commit#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trading\",\"item\":\"https://docs.convallax.com/api-reference/trading/create-quote-request\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Commit to Quote\",\"item\":\"https://docs.convallax.com/api-reference/trading/commit\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.convallax.com/api-reference/trading/commit#apireference\",\"headline\":\"Commit to Quote\",\"name\":\"Commit to Quote\",\"description\":\"Commit to the best quote on an open quote request. The relay selects the winner, signs an EIP-712 Order, and returns everything needed for on-chain fill().\",\"url\":\"https://docs.convallax.com/api-reference/trading/commit\",\"mainEntityOfPage\":{\"@id\":\"https://docs.convallax.com/api-reference/trading/commit#webpage\"},\"dateModified\":\"2026-06-17T02:34:00.426Z\",\"publisher\":{\"@id\":\"https://docs.convallax.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.convallax.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Convallax\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Convallax\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/trading/commit.md","siteName":"Convallax","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Overview","href":"/api-reference/introduction"}]},{"group":"Series","pages":[{"title":"List Markets","openapi":"api-reference/openapi.json GET /v1/markets","href":"/api-reference/series/markets"},{"title":"List Series","openapi":"api-reference/openapi.json GET /v1/series","href":"/api-reference/series/list"},{"title":"Get Series","openapi":"api-reference/openapi.json GET /v1/series/{seriesId}","href":"/api-reference/series/get"}]},{"group":"Trading","pages":[{"title":"Create Quote Request","openapi":"api-reference/openapi.json POST /quote-requests","href":"/api-reference/trading/create-quote-request"},{"title":"Stream Quotes","api":"GET /quote-requests/:id/stream","href":"/api-reference/trading/stream"},{"title":"Poll Quotes","description":"Poll for the latest market maker quotes on an open quote request. Returns the current best quote and total count.","openapi":"api-reference/openapi.json GET /quote-requests/{id}/quotes","href":"/api-reference/trading/poll-quotes"},{"title":"Commit to Quote","openapi":"api-reference/openapi.json POST /quote-requests/{id}/commit","href":"/api-reference/trading/commit"}]},{"group":"Market Maker","pages":[{"title":"Relay Status","description":"Check relay protocol version, connected market makers, and the maker channel paths.","openapi":"api-reference/openapi.json GET /maker/v1/status","href":"/api-reference/market-maker/status"},{"title":"Quote Request Stream","api":"GET /v1/mm/quote-requests/stream","href":"/api-reference/market-maker/quote-stream"},{"title":"Submit Quote","openapi":"api-reference/openapi.json POST /v1/mm/quotes","href":"/api-reference/market-maker/submit-quote"},{"title":"Confirm Quote","openapi":"api-reference/openapi.json POST /v1/mm/quotes/{quoteId}/confirm","href":"/api-reference/market-maker/confirm-quote"},{"title":"Post-Trade WebSocket","href":"/api-reference/market-maker/websocket"}]},{"group":"User","pages":[{"title":"Get Profile","openapi":"api-reference/openapi.json GET /v1/user/profile","href":"/api-reference/user/get-profile"},{"title":"List API Keys","openapi":"api-reference/openapi.json GET /v1/user/api-keys","href":"/api-reference/user/list-api-keys"},{"title":"Create API Key","openapi":"api-reference/openapi.json POST /v1/user/api-keys","href":"/api-reference/user/create-api-key"},{"title":"Revoke API Key","openapi":"api-reference/openapi.json DELETE /v1/user/api-keys/{id}","href":"/api-reference/user/revoke-api-key"}]},{"group":"Settlement","pages":[{"title":"Prepare Settlement","openapi":"api-reference/openapi.json POST /settlement/prepare","href":"/api-reference/settlement/prepare"}]},{"group":"On-Chain Contracts","pages":[{"title":"fill()","href":"/api-reference/contracts/fill"},{"title":"claimHolderPayout()","href":"/api-reference/contracts/claim-holder"},{"title":"claimWriterCollateral()","href":"/api-reference/contracts/claim-writer"},{"title":"settleWithAttestation()","href":"/api-reference/contracts/settle"}]},{"group":"Testnet","pages":[{"title":"Request Testnet USDC","openapi":"api-reference/openapi.json POST /faucet","href":"/api-reference/testnet/faucet"},{"title":"Faucet Status","openapi":"api-reference/openapi.json GET /faucet/status","href":"/api-reference/testnet/faucet-status"}]}]}]},"basePath":"","title":"Commit to Quote - Convallax","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","SectionHeading-B08KBUKT.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js","Markdown-LI7DSqeK.js","AssistantPageLink-bYxdsqKl.js","dist-DXTH2WLA.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}