const res = await fetch( `https://api.totalis.trade/v1/mm/cashout-requests/${cashoutRequestId}/quote`, { method: 'PUT', headers: { 'X-API-Key': API_KEY, 'Content-Type': 'application/json' }, // price_micro is what the USER receives, all-in, in micro-USDC body: JSON.stringify({ price_micro: 1_990_000, expires_in_ms: 15_000 }), },);
import requestsrequests.put( f'https://api.totalis.trade/v1/mm/cashout-requests/{cashout_request_id}/quote', headers={'X-API-Key': API_KEY}, # price_micro is what the USER receives, all-in, in micro-USDC json={'price_micro': 1_990_000, 'expires_in_ms': 15_000},)
const res = await fetch( `https://api.totalis.trade/v1/mm/cashout-requests/${cashoutRequestId}/quote`, { method: 'PUT', headers: { 'X-API-Key': API_KEY, 'Content-Type': 'application/json' }, // price_micro is what the USER receives, all-in, in micro-USDC body: JSON.stringify({ price_micro: 1_990_000, expires_in_ms: 15_000 }), },);
import requestsrequests.put( f'https://api.totalis.trade/v1/mm/cashout-requests/{cashout_request_id}/quote', headers={'X-API-Key': API_KEY}, # price_micro is what the USER receives, all-in, in micro-USDC json={'price_micro': 1_990_000, 'expires_in_ms': 15_000},)
Submit or replace your bid on an early cashout auction. Auctions arrive as a
cashout_request event on the
MM stream you already subscribe to. They are broadcast to
every market maker, including on positions you do not back. An auction lives about 10 seconds.Bid one all-in price_micro: the microUSDC the user receives. There is no direction field and no
fee term. The highest live bid wins, and ties go to the earliest bid. To pass, submit nothing;
there is no decline endpoint.Re-submitting replaces your bid atomically and also re-times it. Re-sending the same price puts you
behind any bid that has since matched it. Do not re-PUT an unchanged price just to refresh the
TTL: you would hand away a tie you were winning.
If you
A win
Back the position
Closes it. A closing exit carries the profit fee on your side.
API key required, with the mm:quote scope. Pass it in the X-API-Key header.
X-API-Key: <key>
Path parameters
string
required
The cashout request ID (UUID). Called cashout_request_id on the push.
Request body
integer
required
The all-in amount the user receives, in microUSDC (1_000_000 = $1.00). Integer, minimum 1.
May be below the user’s stake: a losing parlay exits for less than it cost.Two ceilings apply, both in microUSDC. user_stake and total_payout arrive as decimal USDC on
the push, so scale them by 1e6 first.Every bid must satisfy price_micro <= round(total_payout * 1e6) (price_above_max_payout). If
you are the position’s current counterparty, a tighter fee-aware ceiling binds
(price_above_buyback_bound). It is derived from total_payout - user_stake, not from the
mm_risk field, because the two drift by up to 0.0001 USDC:
S = round(user_stake * 1e6)M = round((total_payout - user_stake) * 1e6)price_micro <= S + M - floor(M * fee_bps / 10_000)
integer
default:"15000"
How long your bid stays live, in milliseconds. Range 5000-60000. A bid may outlive the auction.
One that lapses mid-auction stops being the best bid, and nothing tells you when, so age bids out
locally.
The body is strict: an unknown field is a 400.
Withdrawing a bid
DELETE /v1/mm/cashout-requests/{id}/quote pulls your live bid. It is idempotent.
Response
Meaning
204 No Content
Your bid was removed.
200 OK with {"status": "already_withdrawn"}
Your bid had already lapsed. Not an error.
409
The auction is no longer active.
404
The auction is unknown.
There is no partial withdraw. Re-PUT to change a price.
Response
Returns 201 Created for your first bid on an auction, or 200 OK when replacing your own.
object
Show data
object
The submitted bid.
Show quote
string
Bid UUID.
string
The auction this bid is for.
string
Your market maker ID.
integer
The all-in microUSDC you bid.
string
ISO 8601 timestamp when this bid expires.
string
"active"
integer
The auction’s new book sequence number.
boolean
true if this replaced your previous bid.
Errors
Status
details.reason
Description
400
validation
Non-integer or non-positive price_micro, expires_in_ms out of range, unknown field, or malformed JSON.
400
price_above_max_payout
Bid exceeds the position’s total_payout. Response carries max_price_micro.
400
price_above_buyback_bound
You back this position and the bid exceeds what your locked collateral covers after the profit fee. Skipped when the fee rate is briefly unavailable; the commit then re-checks it and rejects with amount_over_bound.
401
none
Missing or invalid API key (error.code: UNAUTHORIZED).
Auction unknown, or already evicted at its TTL. The ordinary “too slow” outcome, not a fault.
409
self_quote
You opened this auction (you are the seller). Bidding on a position you back is allowed; that is the closing case.
409
not_active
The auction was committed or cancelled before your bid landed.
409
expired
The auction expired as your bid landed.
409
MARKET_NEAR_CLOSE
The underlying market is too close to close to exit.
409
buyback_wallet_missing
You back this position but no wallet is on record, so a closing exit cannot be built. Only your bids fail; other market makers can still win the same auction by acquiring the position.
429
none
Too many requests (error.code: RATE_LIMITED). Honor Retry-After.
Winning is not the same as being paid. The user is only filled at a price they explicitly accepted,
so a fill can fail if the book moves down between their tap and their commit. If you win by
acquiring a position, your funding and eligibility are checked at that commit, not when you bid. An
underfunded or ineligible winning bid fails there with insufficient_buyer_balance,
buyer_no_vault, or buyer_is_counterparty.
const res = await fetch( `https://api.totalis.trade/v1/mm/cashout-requests/${cashoutRequestId}/quote`, { method: 'PUT', headers: { 'X-API-Key': API_KEY, 'Content-Type': 'application/json' }, // price_micro is what the USER receives, all-in, in micro-USDC body: JSON.stringify({ price_micro: 1_990_000, expires_in_ms: 15_000 }), },);
import requestsrequests.put( f'https://api.totalis.trade/v1/mm/cashout-requests/{cashout_request_id}/quote', headers={'X-API-Key': API_KEY}, # price_micro is what the USER receives, all-in, in micro-USDC json={'price_micro': 1_990_000, 'expires_in_ms': 15_000},)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Totalis","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/ucalledit/r8jaq7Kk06SHWl7c/logo/totalis-light.png?fit=max\u0026auto=format\u0026n=r8jaq7Kk06SHWl7c\u0026q=85\u0026s=bfc2c43758a4153215b97f4f1f4a849e","dark":"https://mintcdn.com/ucalledit/r8jaq7Kk06SHWl7c/logo/totalis-dark.png?fit=max\u0026auto=format\u0026n=r8jaq7Kk06SHWl7c\u0026q=85\u0026s=c9cd04e32bfb6912c319d5bea48cb835"},"favicon":"https://mintcdn.com/ucalledit/r8jaq7Kk06SHWl7c/favicon.png?fit=max\u0026auto=format\u0026n=r8jaq7Kk06SHWl7c\u0026q=85\u0026s=c011a0a3e86a2aba4ac734a6c7cd366a","api":{"mdx":{"auth":{"method":"bearer"},"server":"https://api.totalis.trade"}},"background":{"color":{"light":"#FAFBFA","dark":"#0B0F0D"}},"navbar":{"links":[{"href":"https://app.totalis.trade/account/api-keys","label":"Get an API key"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.totalis.trade"}},"footer":{"socials":{"x":"https://x.com/totalistrading","github":"https://github.com/totalistrading"},"links":[{"header":"Status","items":[{"label":"Hyperliquid status","href":"https://status.totalis.trade"}]},{"header":"Legal","items":[{"label":"Terms of Service","href":"/terms-of-service"},{"label":"Privacy Policy","href":"/privacy-policy"}]}]},"seo":{"metatags":{"og:type":"website","og:site_name":"Totalis Documentation","og:locale":"en_US","og:image":"https://docs.totalis.trade/totalis.png","twitter:card":"summary_large_image","twitter:image":"https://docs.totalis.trade/totalis.png"}},"fonts":{"family":"DM Sans"},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ucalledit","hasAudioNarration":false,"actualSubdomain":"ucalledit","customDomains":["docs.totalis.trade"],"gitSource":{"type":"github","owner":"totalistrading","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af941d125f0e2ea6db75f43","clientVersion":"0.0.4160","searchFilterCounts":[{"language":"default","tag":"API reference","count":118},{"language":"default","tag":"Hyperliquid","count":98},{"language":"default","tag":"Solana","count":68},{"language":"default","tag":"Guides","count":62},{"language":"default","tag":"Account","count":22},{"language":"default","tag":"API keys","count":15},{"language":"default","tag":"RFQs \u0026 Quotes","count":14},{"language":"default","tag":"Resources","count":9},{"language":"default","tag":"Quote service","count":9},{"language":"default","tag":"Makers","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":true},"customCss":[{"filePath":"style.css","content":""}],"page":{"pagePath":"solana/api-reference/quote-service-mm/cashout-quote","slug":"/solana/api-reference/quote-service-mm/cashout-quote","pageMetadata":{"title":"Bid on a cashout auction","api":"PUT /v1/mm/cashout-requests/{id}/quote","description":"Bid one all-in price on a user's early cashout auction.","href":"/solana/api-reference/quote-service-mm/cashout-quote"},"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: \"Bid one all-in price on a user’s early cashout auction.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Submit or replace your bid on an early cashout auction. Auctions arrive as a\n`,_jsx(_components.a,{href:`/solana/api-reference/quote-service-mm/stream#cashout_request`,children:_jsx(_components.code,{children:`cashout_request`})}),` event on the\n`,_jsx(_components.a,{href:`/solana/api-reference/quote-service-mm/stream`,children:`MM stream`}),` you already subscribe to. They are broadcast to\nevery market maker, including on positions you do not back. An auction lives about 10 seconds.`]}),`\n`,_jsxs(_components.p,{children:[`Bid one all-in `,_jsx(_components.code,{children:`price_micro`}),`: the microUSDC the user receives. There is no direction field and no\nfee term. The highest live bid wins, and ties go to the earliest bid. To pass, submit nothing;\nthere is no decline endpoint.`]}),`\n`,_jsxs(_components.p,{children:[`Re-submitting replaces your bid atomically and also re-times it. Re-sending the same price puts you\nbehind any bid that has since matched it. Do not re-`,_jsx(_components.code,{children:`PUT`}),` an unchanged price just to refresh the\nTTL: you would hand away a tie you were winning.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`If you`}),_jsx(_components.th,{children:`A win`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Back the position`}),_jsx(_components.td,{children:`Closes it. A closing exit carries the profit fee on your side.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Do not back it`}),_jsx(_components.td,{children:`Acquires it. No fee applies.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`For the payload and auction mechanics, see `,_jsx(_components.a,{href:`/solana/guides/cashout-auctions`,children:`Cashout auctions`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`API key required, with the `,_jsx(_components.code,{children:`mm:quote`}),` scope. Pass it in the `,_jsx(_components.code,{children:`X-API-Key`}),` header.`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-API-Key: \u003ckey>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:_jsxs(_components.p,{children:[`The cashout request ID (UUID). Called `,_jsx(_components.code,{children:`cashout_request_id`}),` on the push.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsxs(ParamField,{body:`price_micro`,type:`integer`,required:true,id:`param-price-micro`,children:[_jsxs(_components.p,{children:[`The all-in amount the user receives, in microUSDC (`,_jsx(_components.code,{children:`1_000_000`}),` = $1.00). Integer, minimum `,_jsx(_components.code,{children:`1`}),`.\nMay be below the user’s stake: a losing parlay exits for less than it cost.`]}),_jsxs(_components.p,{children:[`Two ceilings apply, both in microUSDC. `,_jsx(_components.code,{children:`user_stake`}),` and `,_jsx(_components.code,{children:`total_payout`}),` arrive as decimal USDC on\nthe push, so scale them by `,_jsx(_components.code,{children:`1e6`}),` first.`]}),_jsxs(_components.p,{children:[`Every bid must satisfy `,_jsx(_components.code,{children:`price_micro \u003c= round(total_payout * 1e6)`}),` (`,_jsx(_components.code,{children:`price_above_max_payout`}),`). If\nyou are the position’s current counterparty, a tighter fee-aware ceiling binds\n(`,_jsx(_components.code,{children:`price_above_buyback_bound`}),`). It is derived from `,_jsx(_components.code,{children:`total_payout - user_stake`}),`, not from the\n`,_jsx(_components.code,{children:`mm_risk`}),` field, because the two drift by up to `,_jsx(_components.code,{children:`0.0001`}),` USDC:`]}),_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`S = round(user_stake * 1e6)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`M = round((total_payout - user_stake) * 1e6)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`price_micro \u003c= S + M - floor(M * fee_bps / 10_000)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(ParamField,{body:`expires_in_ms`,type:`integer`,default:`15000`,id:`param-expires-in-ms`,children:_jsx(_components.p,{children:`How long your bid stays live, in milliseconds. Range 5000-60000. A bid may outlive the auction.\nOne that lapses mid-auction stops being the best bid, and nothing tells you when, so age bids out\nlocally.`})}),`\n`,_jsxs(_components.p,{children:[`The body is strict: an unknown field is a `,_jsx(_components.code,{children:`400`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`withdrawing-a-bid`,children:`Withdrawing a bid`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`DELETE /v1/mm/cashout-requests/{id}/quote`}),` pulls your live bid. It is idempotent.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Response`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`204 No Content`})}),_jsx(_components.td,{children:`Your bid was removed.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`200 OK`}),` with `,_jsx(_components.code,{children:`{\"status\": \"already_withdrawn\"}`})]}),_jsx(_components.td,{children:`Your bid had already lapsed. Not an error.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The auction is no longer active.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`The auction is unknown.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`There is no partial withdraw. Re-`,_jsx(_components.code,{children:`PUT`}),` to change a price.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns `,_jsx(_components.code,{children:`201 Created`}),` for your first bid on an auction, or `,_jsx(_components.code,{children:`200 OK`}),` when replacing your own.`]}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`data`,children:[_jsxs(ResponseField,{name:`quote`,type:`object`,id:`param-quote`,children:[_jsx(_components.p,{children:`The submitted bid.`}),_jsxs(Expandable,{title:`quote`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:`Bid UUID.`}),_jsx(ResponseField,{name:`cashout_request_id`,type:`string`,id:`param-cashout-request-id`,children:`The auction this bid is for.`}),_jsx(ResponseField,{name:`market_maker_id`,type:`string`,id:`param-market-maker-id`,children:`Your market maker ID.`}),_jsx(ResponseField,{name:`price_micro`,type:`integer`,id:`param-price-micro-1`,children:`The all-in microUSDC you bid.`}),_jsx(ResponseField,{name:`valid_until`,type:`string`,id:`param-valid-until`,children:`ISO 8601 timestamp when this bid expires.`}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsx(_components.code,{children:`\"active\"`})})]})]}),_jsx(ResponseField,{name:`book_seq`,type:`integer`,id:`param-book-seq`,children:`The auction’s new book sequence number.`}),_jsxs(ResponseField,{name:`replaced`,type:`boolean`,id:`param-replaced`,children:[_jsx(_components.code,{children:`true`}),` if this replaced your previous bid.`]})]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`details.reason`})}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`validation`}),_jsxs(_components.td,{children:[`Non-integer or non-positive `,_jsx(_components.code,{children:`price_micro`}),`, `,_jsx(_components.code,{children:`expires_in_ms`}),` out of range, unknown field, or malformed JSON.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`price_above_max_payout`})}),_jsxs(_components.td,{children:[`Bid exceeds the position’s `,_jsx(_components.code,{children:`total_payout`}),`. Response carries `,_jsx(_components.code,{children:`max_price_micro`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`price_above_buyback_bound`})}),_jsxs(_components.td,{children:[`You back this position and the bid exceeds what your locked collateral covers after the profit fee. Skipped when the fee rate is briefly unavailable; the commit then re-checks it and rejects with `,_jsx(_components.code,{children:`amount_over_bound`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`none`}),_jsxs(_components.td,{children:[`Missing or invalid API key (`,_jsx(_components.code,{children:`error.code: UNAUTHORIZED`}),`).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_scope`})}),_jsxs(_components.td,{children:[`Key lacks `,_jsx(_components.code,{children:`mm:quote`}),`. Response carries `,_jsx(_components.code,{children:`required_scope`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`none`}),_jsx(_components.td,{children:`Auction unknown, or already evicted at its TTL. The ordinary “too slow” outcome, not a fault.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`self_quote`})}),_jsx(_components.td,{children:`You opened this auction (you are the seller). Bidding on a position you back is allowed; that is the closing case.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`not_active`})}),_jsx(_components.td,{children:`The auction was committed or cancelled before your bid landed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`expired`})}),_jsx(_components.td,{children:`The auction expired as your bid landed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`MARKET_NEAR_CLOSE`})}),_jsx(_components.td,{children:`The underlying market is too close to close to exit.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`buyback_wallet_missing`})}),_jsx(_components.td,{children:`You back this position but no wallet is on record, so a closing exit cannot be built. Only your bids fail; other market makers can still win the same auction by acquiring the position.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:`none`}),_jsxs(_components.td,{children:[`Too many requests (`,_jsx(_components.code,{children:`error.code: RATE_LIMITED`}),`). Honor `,_jsx(_components.code,{children:`Retry-After`}),`.`]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Winning is not the same as being paid. The user is only filled at a price they explicitly accepted,\nso a fill can fail if the book moves down between their tap and their commit. If you win by\nacquiring a position, your funding and eligibility are checked at that commit, not when you bid. An\nunderfunded or ineligible winning bid fails there with `,_jsx(_components.code,{children:`insufficient_buyer_balance`}),`,\n`,_jsx(_components.code,{children:`buyer_no_vault`}),`, or `,_jsx(_components.code,{children:`buyer_is_counterparty`}),`.`]})})]})}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":"Bid on a cashout auction","api":"PUT /v1/mm/cashout-requests/{id}/quote","description":"Bid one all-in price on a user's early cashout auction.","href":"/solana/api-reference/quote-service-mm/cashout-quote"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[367,372,"questExample,Respons"],[624,641,"questExample)_missingMdxReference(`RequestExample`,true);if(!ResponseField)_miss"],[14320,14748,",`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.totalis.trade/v1/mm/cashout-requests/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CASHOUT_REQUEST_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/quote`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"price_micro\": 1990000, \"expires_in_ms\": 15000}'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`9`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `https://api.totalis.trade/v1/mm/cashout-requests/\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`cashoutRequestId`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"/quote`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'PUT'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'X-API-Key'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // price_micro is what the USER receives, all-in, in micro-USDC`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`price_micro:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1_990_000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`expires_in_ms:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 15_000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`8`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`requests.put(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.totalis.trade/v1/mm/cashout-requests/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cashout_request_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/quote'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'X-API-Key'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # price_micro is what the USER receives, all-in, in micro-USDC`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'price_micro'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1_990_000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'expires_in_ms'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15_000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})})]})]})}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.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Path parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Request body","slug":"request-body","depth":2,"children":[]},{"title":"Withdrawing a bid","slug":"withdrawing-a-bid","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"curl","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PUT\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.totalis.trade/v1/mm/cashout-requests/\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$CASHOUT_REQUEST_ID\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/quote\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"X-API-Key: \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\"price_micro\": 1990000, \"expires_in_ms\": 15000}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"JavaScript","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> res\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> `https://api.totalis.trade/v1/mm/cashout-requests/\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">cashoutRequestId\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/quote`\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'PUT'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'X-API-Key'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> API_KEY\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Content-Type'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'application/json'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"> // price_micro is what the USER receives, all-in, in micro-USDC\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({ \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">price_micro:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 1_990_000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">expires_in_ms:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 15_000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">requests.put(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> f\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://api.totalis.trade/v1/mm/cashout-requests/\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">{\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">cashout_request_id\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/quote'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> headers\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'X-API-Key'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\">API_KEY\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"> # price_micro is what the USER receives, all-in, in micro-USDC\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> json\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'price_micro'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1_990_000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'expires_in_ms'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">15_000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Bid on a cashout auction","path":"/v1/mm/cashout-requests/{id}/quote","servers":[{"url":"https://api.totalis.trade"}],"method":"put","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"id":{"schema":[{"type":"string","description":"The cashout request ID (UUID). Called `cashout_request_id` on the push.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"price_micro":[{"type":"integer","description":"The all-in amount the user receives, in microUSDC ( `1_000_000` = $1.00). Integer, minimum `1` . May be below the user’s stake: a losing parlay exits for less than it cost. Two ceilings apply, both in microUSDC. `user_stake` and `total_payout` arrive as decimal USDC on the push, so scale them by `1e6` first. Every bid must satisfy `price_micro \u003c= round(total_payout * 1e6)` ( `price_above_max_payout` ). If you are the position’s current counterparty, a tighter fee-aware ceiling binds ( `price_above_buyback_bound` ). It is derived from `total_payout - user_stake` , not from the `mm_risk` field, because the two drift by up to `0.0001` USDC:","required":true}],"expires_in_ms":[{"type":"integer","description":"How long your bid stays live, in milliseconds. Range 5000-60000. A bid may outlive the auction. One that lapses mid-auction stops being the best bid, and nothing tells you when, so age bids out locally."}]}}],"examples":{"example":{"value":{"price_micro":123,"expires_in_ms":123}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"data":[{"type":"object","properties":{"quote":[{"type":"object","properties":{"id":[{"type":"string","description":"Bid UUID."}],"cashout_request_id":[{"type":"string","description":"The auction this bid is for."}],"market_maker_id":[{"type":"string","description":"Your market maker ID."}],"price_micro":[{"type":"integer","description":"The all-in microUSDC you bid."}],"valid_until":[{"type":"string","description":"ISO 8601 timestamp when this bid expires."}],"status":[{"type":"string","description":"`\"active\"`"}]},"description":"The submitted bid."}],"book_seq":[{"type":"integer","description":"The auction’s new book sequence number."}],"replaced":[{"type":"boolean","description":"`true` if this replaced your previous bid."}]}}]}}],"examples":{"example":{"value":{"data":{"quote":{"id":"\u003cstring>","cashout_request_id":"\u003cstring>","market_maker_id":"\u003cstring>","price_micro":123,"valid_until":"\u003cstring>","status":"\u003cstring>"},"book_seq":123,"replaced":true}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"ucalledit","siteName":"Totalis","title":"Bid on a cashout auction - Totalis","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-14T00:55:06.001Z","originalFileLocation":"solana/api-reference/quote-service-mm/cashout-quote.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=\"Bid one all-in price on a user\u0026#x27;s early cashout auction.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Totalis\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Bid on a cashout auction - Totalis\">\u003cmeta data-mint-head property=\"og:description\" content=\"Bid one all-in price on a user\u0026#x27;s early cashout auction.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Totalis Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/cashout-quote\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.totalis.trade/totalis.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Bid on a cashout auction - Totalis\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Bid one all-in price on a user\u0026#x27;s early cashout auction.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.totalis.trade/totalis.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ucalledit/nSbc8XH_JELxakJk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Totalis\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/cashout-quote\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/solana/api-reference/quote-service-mm/cashout-quote.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.totalis.trade/#organization\",\"name\":\"Totalis\",\"url\":\"https://docs.totalis.trade\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ucalledit/r8jaq7Kk06SHWl7c/logo/totalis-light.png?fit=max\u0026auto=format\u0026n=r8jaq7Kk06SHWl7c\u0026q=85\u0026s=bfc2c43758a4153215b97f4f1f4a849e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.totalis.trade#website\",\"name\":\"Totalis\",\"url\":\"https://docs.totalis.trade\",\"publisher\":{\"@id\":\"https://docs.totalis.trade/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/cashout-quote#webpage\",\"url\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/cashout-quote\",\"name\":\"Bid on a cashout auction\",\"description\":\"Bid one all-in price on a user's early cashout auction.\",\"dateModified\":\"2026-11-14T00:55:06.001Z\",\"isPartOf\":{\"@id\":\"https://docs.totalis.trade#website\"},\"breadcrumb\":{\"@id\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/cashout-quote#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/cashout-quote#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Market maker\",\"item\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/stream\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bid on a cashout auction\",\"item\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/cashout-quote\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/cashout-quote#apireference\",\"headline\":\"Bid on a cashout auction\",\"name\":\"Bid on a cashout auction\",\"description\":\"Bid one all-in price on a user's early cashout auction.\",\"url\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/cashout-quote\",\"mainEntityOfPage\":{\"@id\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/cashout-quote#webpage\"},\"image\":\"https://docs.totalis.trade/totalis.png\",\"dateModified\":\"2026-11-14T00:55:06.001Z\",\"publisher\":{\"@id\":\"https://docs.totalis.trade/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.totalis.trade#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Totalis\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Totalis\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/solana/api-reference/quote-service-mm/cashout-quote.md","siteName":"Totalis","nav":{"global":{"anchors":[]},"products":[{"product":"Hyperliquid","description":"Combos on Hyperliquid HIP-4 prediction markets, quoted by market makers and settled on HyperEVM","pages":[{"title":"Hyperliquid","href":"/hyperliquid"}]},{"product":"Solana","description":"Parlays across Kalshi and Polymarket, settled on Solana","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/solana"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API overview","href":"/solana/api-reference/introduction"},{"title":"Errors","href":"/solana/errors"}]},{"group":"Quote service","pages":[{"title":"Create quote request","api":"POST /v1/quote-requests","href":"/solana/api-reference/quote-service/create"},{"title":"Update quote request","api":"PATCH /v1/quote-requests/{id}","href":"/solana/api-reference/quote-service/update"},{"title":"Get quote request","api":"GET /v1/quote-requests/{id}","href":"/solana/api-reference/quote-service/get"},{"title":"Commit quote request","api":"POST /v1/quote-requests/{id}/commit","href":"/solana/api-reference/quote-service/commit"},{"title":"Cancel quote request","api":"POST /v1/quote-requests/{id}/cancel","href":"/solana/api-reference/quote-service/cancel"},{"title":"Stream quote updates","api":"GET /v1/quote-requests/{id}/stream","href":"/solana/api-reference/quote-service/stream"},{"title":"Create cashout request","api":"POST /v1/cashout-requests","href":"/solana/api-reference/quote-service/cashout-create"},{"title":"Stream cashout quote","api":"GET /v1/cashout-requests/{id}/stream","href":"/solana/api-reference/quote-service/cashout-stream"},{"title":"Commit cashout","api":"POST /v1/cashout-requests/{id}/commit","href":"/solana/api-reference/quote-service/cashout-commit"}]},{"group":"Market maker","pages":[{"title":"Stream quote requests","api":"GET /v1/mm/quote-requests/stream","href":"/solana/api-reference/quote-service-mm/stream"},{"title":"Submit or replace quote","api":"PUT /v1/mm/quote-requests/{id}/quote","href":"/solana/api-reference/quote-service-mm/submit-quote"},{"title":"Withdraw quote","api":"DELETE /v1/mm/quote-requests/{id}/quote","description":"Withdraw your active quote from a quote request before the user commits it.","href":"/solana/api-reference/quote-service-mm/withdraw-quote"},{"title":"Bid on a cashout auction","api":"PUT /v1/mm/cashout-requests/{id}/quote","href":"/solana/api-reference/quote-service-mm/cashout-quote"},{"title":"List quotes","api":"GET /v1/mm/quotes","description":"List your quotes and their lifecycle status. Filter by status or RFQ, with cursor pagination.","href":"/solana/api-reference/mm/list-quotes"},{"title":"Confirm quote","api":"POST /v1/mm/quotes/{quoteId}/confirm","href":"/solana/api-reference/mm/confirm-quote"},{"title":"List positions","api":"GET /v1/mm/positions","href":"/solana/api-reference/mm/list-positions"},{"title":"Get position","api":"GET /v1/mm/positions/{id}","href":"/solana/api-reference/mm/get-position"}]},{"group":"Markets","pages":[{"title":"List markets","openapi":"GET /markets","href":"/solana/api-reference/markets/list"},{"title":"List markets (flat)","openapi":"GET /v1/markets/list","href":"/solana/api-reference/markets/list-flat"},{"title":"Get market","openapi":"GET /markets/{ticker}","href":"/solana/api-reference/markets/get"}]},{"group":"Parlays","pages":[{"title":"List parlays","openapi":"GET /v1/rfqs","href":"/solana/api-reference/parlays/list"},{"title":"Get parlay","openapi":"GET /v1/rfqs/{id}","href":"/solana/api-reference/parlays/get"}]},{"group":"Account","pages":[{"title":"Get profile","openapi":"GET /v1/me","href":"/solana/api-reference/user/get-profile"},{"title":"Update username","openapi":"PUT /v1/username","href":"/solana/api-reference/user/update-username"},{"title":"Check username","openapi":"GET /v1/username/check","href":"/solana/api-reference/user/check-username"},{"title":"Get wallet","openapi":"GET /v1/wallet","href":"/solana/api-reference/user/get-wallet"},{"title":"Submit transaction","openapi":"POST /v1/wallet/submit-tx","href":"/solana/api-reference/user/submit-tx"}]},{"group":"API keys","pages":[{"title":"List API keys","openapi":"GET /v1/api-keys","href":"/solana/api-reference/user/list-api-keys"},{"title":"Create API key","openapi":"POST /v1/api-keys","href":"/solana/api-reference/user/create-api-key"},{"title":"Revoke API key","openapi":"DELETE /v1/api-keys/{prefix}","href":"/solana/api-reference/user/revoke-api-key"}]},{"group":"Funds and vault","pages":[{"title":"Get vault","openapi":"GET /v1/vault","href":"/solana/api-reference/funds/get-vault"},{"title":"Deposit into the vault","openapi":"POST /v1/vault/deposit","href":"/solana/api-reference/funds/vault-deposit"},{"title":"Withdraw from the vault","openapi":"POST /v1/vault/withdraw","href":"/solana/api-reference/funds/vault-withdraw"},{"title":"Withdraw to external address","openapi":"POST /v1/wallet/withdraw","href":"/solana/api-reference/funds/wallet-withdraw"},{"title":"Wallet delegation status","openapi":"GET /v1/wallet/delegation-status","href":"/solana/api-reference/funds/delegation-status"},{"title":"Enable trading","openapi":"POST /v1/wallet/enable-trading","href":"/solana/api-reference/funds/enable-trading"},{"title":"Portfolio","openapi":"GET /v1/portfolio","href":"/solana/api-reference/funds/portfolio"},{"title":"P\u0026L timeseries","openapi":"GET /v1/pnl","href":"/solana/api-reference/funds/pnl"}]},{"group":"Webhooks","pages":[{"title":"Get webhook config","openapi":"GET /v1/webhooks","href":"/solana/api-reference/webhooks/get-config"},{"title":"Set webhook config","openapi":"PUT /v1/webhooks","href":"/solana/api-reference/webhooks/set-config"},{"title":"Rotate signing secret","openapi":"POST /v1/webhooks/rotate-secret","href":"/solana/api-reference/webhooks/rotate-secret"},{"title":"List deliveries","openapi":"GET /v1/webhooks/deliveries","href":"/solana/api-reference/webhooks/list-deliveries"},{"title":"Replay delivery","openapi":"POST /v1/webhooks/deliveries/{id}/redeliver","href":"/solana/api-reference/webhooks/redeliver"}]}]}]}]},"basePath":"","title":"Bid on a cashout auction - Totalis","buildId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","deploymentId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BFmjTMeT.js","utils-BWr-sjpP.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-LafIDf0N.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-MJNzuxek.js","snippetPresets-DPZEtUvW.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DQ2UhGIs.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DUUJTUkE.js","shallow-BTf5bw35.js","getApiPlaygroundDisplay-h2POYYOO.js","CodeSnippet-C4qEftRe.js","CodeSnippets-CsSrOqMC.js","Page-CWFqNdGh.js","getPastedJson-DU6W6y78.js","icon-2ZYNQ78y.js","MethodPill-BMXJzYMm.js","DuplicateIcon-DNjdEpYZ.js","createIcon-WdPVhKxl.js","DynamicMarkdown-Z_y464fM.js","SectionHeading-Bcrd8azU.js","axios-vUo_bRtp.js"]}