The block number for the auction. Orders and prices are guaranteed to be valid on this block. Proposed settlements should be valid for this block as well.
The reference prices for all traded tokens in the auction as a mapping from token addresses to a price denominated in native token (i.e. 1e18 represents a token that trades one to one with the native token). These prices are used for solution competition for computing surplus and converting fees to native token.
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"CoW DAO Documentation","description":"Documentation for CoW Protocol, CoW AMM, and CoW DAO — the most user-protective trading protocol on Ethereum.","colors":{"primary":"#012F7A","light":"#3F80FF","dark":"#012F7A"},"logo":{"light":"https://mintcdn.com/cowswap/eI7SJtCRQaJAMfZg/images/cow-logo.svg?fit=max\u0026auto=format\u0026n=eI7SJtCRQaJAMfZg\u0026q=85\u0026s=ad3ebf82be1922533f9c85c89d92f35b","dark":"https://mintcdn.com/cowswap/eI7SJtCRQaJAMfZg/images/cow-logo-dark.svg?fit=max\u0026auto=format\u0026n=eI7SJtCRQaJAMfZg\u0026q=85\u0026s=ed24d2d3cf4a87aaa8684d19d1f5d415"},"favicon":"/images/cow-dao-favicon.png","background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://github.com/cowprotocol","type":"github"},{"href":"https://discord.com/invite/cowprotocol","type":"discord"}],"primary":{"type":"button","label":"Launch CoW Swap","href":"https://swap.cow.fi"}},"footer":{"socials":{"github":"https://github.com/cowprotocol","x":"https://twitter.com/CoWSwap","discord":"https://discord.com/invite/cowprotocol"},"links":[{"header":"Products","items":[{"label":"CoW Swap","href":"https://swap.cow.fi"},{"label":"CoW Explorer","href":"https://explorer.cow.fi"},{"label":"CoW AMM","href":"https://cow.fi/cow-amm"},{"label":"MEV Blocker","href":"https://mevblocker.io"}]},{"header":"Community","items":[{"label":"Discord","href":"https://discord.com/invite/cowprotocol"},{"label":"Forum","href":"https://forum.cow.fi"},{"label":"Grants","href":"https://grants.cow.fi"},{"label":"Twitter / X","href":"https://twitter.com/CoWSwap"}]},{"header":"Developers","items":[{"label":"GitHub","href":"https://github.com/cowprotocol"},{"label":"SDK","href":"/cow-sdk/quickstart"},{"label":"API Reference","href":"/cow-protocol/reference/apis/orderbook"},{"label":"Contracts","href":"/cow-protocol/reference/contracts/core"}]}]},"search":{"prompt":"Search docs..."},"fonts":{"heading":{"family":"Studio Feixen Sans","weight":700,"source":"fonts/StudioFeixenSans-Bold.woff2","format":"woff2"},"body":{"family":"Studio Feixen Sans","weight":500,"source":"fonts/StudioFeixenSans-Medium.woff2","format":"woff2"}},"styling":{"eyebrows":"breadcrumbs","latex":true},"contextual":{"options":["copy","view","claude","chatgpt","perplexity","cursor","mcp"],"display":"toc"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"/"},{"anchor":"Launch CoW Swap","icon":"arrow-right-arrow-left","href":"https://swap.cow.fi"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"/changelog"},{"anchor":"About These Docs","icon":"book","href":"/about-these-docs"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cowswap","hasAudioNarration":false,"actualSubdomain":"cowswap","customDomains":["docs.cow.bleu.builders"],"gitSource":{"type":"github","owner":"bleu","repo":"cow-docs-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae94940ad71672b181f2ce4:success","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Contracts","count":139},{"language":"default","tag":"CoW Protocol","count":86},{"language":"default","tag":"Backend","count":74},{"language":"default","tag":"API Reference","count":72},{"language":"default","tag":"TypeScript SDK","count":41},{"language":"default","tag":"Contracts SDK","count":39},{"language":"default","tag":"Composable CoW","count":36},{"language":"default","tag":"Watch Tower","count":29},{"language":"default","tag":"BFF","count":27},{"language":"default","tag":"Python SDK","count":23}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"#search-bar-entry{min-width:0;width:auto;max-width:16rem}#search-bar-entry>span:last-child,#assistant-entry>span:last-child{white-space:nowrap;flex-shrink:0}#search-bar-entry>span:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}:where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background){scrollbar-width:thin;scrollbar-color:rgba(1, 47, 122, 0.28) transparent}:where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background)::-webkit-scrollbar{height:10px}:where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background)::-webkit-scrollbar-track{background:transparent}:where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background)::-webkit-scrollbar-thumb{background-color:rgba(1, 47, 122, 0.28);border:2px solid transparent;border-radius:9999px;background-clip:padding-box}:where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background)::-webkit-scrollbar-thumb:hover{background-color:rgba(1, 47, 122, 0.4)}.dark :where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background){scrollbar-color:rgba(63, 128, 255, 0.42) transparent}.dark :where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background)::-webkit-scrollbar-thumb{background-color:rgba(63, 128, 255, 0.42)}.dark :where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background)::-webkit-scrollbar-thumb:hover{background-color:rgba(63, 128, 255, 0.56)}.dark :where(.mdx-content,.api-section,main) pre.shiki,.dark :where(.mdx-content,.api-section,main) pre.shiki code,.dark :where(.mdx-content,.api-section,main) pre.shiki span,.dark :where(.mdx-content,.api-section,main) [data-component-part=\"code-block-root\"]{background-color:var(--shiki-dark-bg, #0b0c0e)!important}.dark :where(.mdx-content,.api-section,main) pre.shiki,.dark :where(.mdx-content,.api-section,main) pre.shiki code,.dark :where(.mdx-content,.api-section,main) pre.shiki span{color:var(--shiki-dark, inherit)!important;font-style:var(--shiki-dark-font-style, inherit)!important;font-weight:var(--shiki-dark-font-weight, inherit)!important;text-decoration:var(--shiki-dark-text-decoration, inherit)!important}.inline-resource{align-items:center;column-gap:0.28rem;display:inline-flex;flex-wrap:nowrap;max-width:100%;min-width:0;vertical-align:middle}.inline-resource__link{color:inherit;display:inline-flex;max-width:100%;min-width:0}.inline-resource__value{display:inline-block;line-height:1.45;max-width:100%;overflow-wrap:anywhere;vertical-align:middle;white-space:normal;word-break:break-word}.inline-resource__value--compact{max-width:34ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inline-resource__actions{align-items:center;column-gap:0.2rem;display:inline-flex;flex:0 0 auto}.inline-resource__action{align-items:center;background:transparent;border:0;border-radius:9999px;color:inherit;cursor:pointer;display:inline-flex;height:1.35rem;justify-content:center;opacity:0.54;padding:0;text-decoration:none;transition:opacity 160ms ease,\n background-color 160ms ease,\n transform 160ms ease,\n color 160ms ease;width:1.35rem}.inline-resource__action:hover,.inline-resource__action:focus-visible{background:rgba(127, 127, 127, 0.08);opacity:1;outline:none}.inline-resource__icon{align-items:center;display:inline-flex;justify-content:center}.inline-resource__icon--check{display:none}.inline-resource__action[data-state=\"copied\"]{color:#116329;opacity:1}.inline-resource__action[data-state=\"copied\"] .inline-resource__icon--copy{display:none}.inline-resource__action[data-state=\"copied\"] .inline-resource__icon--check{display:inline-flex}@media (hover: hover) and (pointer: fine){.inline-resource__actions{opacity:0;transform:translateX(-0.1rem);transition:opacity 160ms ease,\n transform 160ms ease}.inline-resource:hover .inline-resource__actions,.inline-resource:focus-within .inline-resource__actions{opacity:1;transform:translateX(0)}}.dark .inline-resource__action[data-state=\"copied\"]{color:#9ce89f}"}],"page":{"pagePath":"api-reference/get-the-current-batch-auction","slug":"/api-reference/get-the-current-batch-auction","pageMetadata":{"title":"Get the current batch auction.","description":"The current batch auction that solvers should be solving right now. This\nincludes:\n\n* A list of solvable orders. * The block on which the batch was created.\n* Prices for all tokens being traded (used for objective value\ncomputation).\n\n**Note: This endpoint is currently permissioned. Reach out in discord if\nyou need access.**","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/auction","href":"/api-reference/get-the-current-batch-auction","autogeneratedByOpenApi":true,"hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"The current batch auction that solvers should be solving right now. This\\nincludes:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"A list of solvable orders. * The block on which the batch was created.\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Prices for all tokens being traded (used for objective value\\ncomputation).\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Note: This endpoint is currently permissioned. Reach out in discord if\\nyou need access.\"\n })\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get the current batch auction.","description":"The current batch auction that solvers should be solving right now. This\nincludes:\n\n* A list of solvable orders. * The block on which the batch was created.\n* Prices for all tokens being traded (used for objective value\ncomputation).\n\n**Note: This endpoint is currently permissioned. Reach out in discord if\nyou need access.**","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/auction","href":"/api-reference/get-the-current-batch-auction","autogeneratedByOpenApi":true,"hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getCurrentBatchAuction","summary":"Get the current batch auction.","description":"The current batch auction that solvers should be solving right now. This\nincludes:\n\n* A list of solvable orders. * The block on which the batch was created.\n* Prices for all tokens being traded (used for objective value\ncomputation).\n\n**Note: This endpoint is currently permissioned. Reach out in discord if\nyou need access.**","responses":{"200":"2c8b004a-a1da-40c8-9706-88cda91bc161"},"method":"get","type":"path","servers":["9f164d9c-d8ee-41e2-bc4f-68726558685d","f649d14a-d9d3-4a61-ad1b-884cea39bd36","569eca66-4804-4db6-9c41-15157c059e1f","aca9317c-7020-4595-a470-2d6376876df2","903d0387-ef4e-4980-a970-a9851272cced","4c8848e4-f3ed-453d-9758-2bac3c815834","488a45e8-72b7-4b0a-b57b-ecc4283a6512","5fdb35eb-1685-4912-858c-d17f81d22be4","b811bb7b-9541-4dcb-84b1-4ad888ea3ee4","a4da4a01-396e-438e-b483-67a925acca5f","7c184bed-c90d-4814-a338-934d1a6d2bc3","73c13a85-5e8e-489a-9a87-3fe9f381264c","6792c108-11b3-4e4b-89c7-c1a31e386a52","ce8f7a35-5cc4-4f68-b749-130bee97847e","cccda760-c424-4025-aed8-30c70c375746","119f169a-6d00-4559-8d73-5440ab085a68","58594b60-d434-48ad-aa00-27c878811077","52e6cefb-ca7f-4ec3-9c74-3cf84a9653d3","63a71d62-9d1c-4cbc-a161-73aa5ba3ae66","c5b863b9-a2f8-4949-a562-7ac3ee8e1fb5","1583112e-e62a-45b9-964f-e54dc726ff18","065b57e4-9d11-4635-b930-d24d985b2f14","0d207ed8-08ba-44eb-8b65-23510afb0848","a8fb4500-3b11-4757-9ade-a797ecaaa5be","2de16a6b-81df-41c8-9ed6-d280007758b0"],"security":[],"path":"/api/v1/auction","baseUrlOptions":["https://api.cow.fi/mainnet","https://barn.api.cow.fi/mainnet","https://api.cow.fi/xdai","https://barn.api.cow.fi/xdai","https://api.cow.fi/arbitrum_one","https://barn.api.cow.fi/arbitrum_one","https://api.cow.fi/base","https://barn.api.cow.fi/base","https://api.cow.fi/avalanche","https://barn.api.cow.fi/avalanche","https://api.cow.fi/polygon","https://barn.api.cow.fi/polygon","https://api.cow.fi/lens","https://barn.api.cow.fi/lens","https://api.cow.fi/linea","https://barn.api.cow.fi/linea","https://api.cow.fi/bnb","https://barn.api.cow.fi/bnb","https://api.cow.fi/plasma","https://barn.api.cow.fi/plasma","https://api.cow.fi/ink","https://barn.api.cow.fi/ink","https://api.cow.fi/sepolia","https://barn.api.cow.fi/sepolia","http://localhost:8080"],"title":"Get the current batch auction.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"responses":{"2c8b004a-a1da-40c8-9706-88cda91bc161":{"description":"Batch auction.","content":{"application/json":{"schema":{"description":"A batch auction for solving.\n","type":"object","properties":{"id":{"type":"integer","description":"The unique identifier of the auction. Increment whenever the backend creates a new auction.\n","uniqueKey":"id","typeLabel":"integer"},"block":{"type":"integer","description":"The block number for the auction. Orders and prices are guaranteed to be valid on this block. Proposed settlements should be valid for this block as well.\n","uniqueKey":"block","typeLabel":"integer"},"orders":{"type":"array","items":{"description":"A solvable order included in the current batch auction. Contains the data forwarded to solvers for solving.\n","type":"object","properties":{"uid":{"description":"Unique identifier for the order: 56 bytes encoded as hex with `0x`\nprefix.\n\nBytes 0..32 are the order digest, bytes 30..52 the owner address and\nbytes 52..56 the expiry (`validTo`) as a `uint32` unix epoch timestamp.","type":"string","example":"0xff2e2e54d178997f173266817c1e9ed6fee1a1aae4b43971c53b543cffcc2969845c6f5599fbb25dbdd1b9b013daf85c03f3c63763e4bc4a","isRequired":true,"uniqueKey":"orders.items.[INDEX].uid","typeLabel":"string"},"sellToken":{"type":"string","description":"see `OrderParameters::sellToken`","example":"0x6810e776880c02933d47db1b9fc05908e5386b96","isRequired":true,"uniqueKey":"orders.items.[INDEX].sellToken","typeLabel":"string"},"buyToken":{"type":"string","description":"see `OrderParameters::buyToken`","example":"0x6810e776880c02933d47db1b9fc05908e5386b96","isRequired":true,"uniqueKey":"orders.items.[INDEX].buyToken","typeLabel":"string"},"sellAmount":{"type":"string","description":"see `OrderParameters::sellAmount`","example":"1234567890","isRequired":true,"uniqueKey":"orders.items.[INDEX].sellAmount","typeLabel":"string"},"buyAmount":{"type":"string","description":"see `OrderParameters::buyAmount`","example":"1234567890","isRequired":true,"uniqueKey":"orders.items.[INDEX].buyAmount","typeLabel":"string"},"created":{"description":"Creation time of the order. Denominated in epoch seconds.","type":"string","example":"123456","isRequired":true,"uniqueKey":"orders.items.[INDEX].created","typeLabel":"string"},"validTo":{"description":"see `OrderParameters::validTo`","type":"integer","isRequired":true,"uniqueKey":"orders.items.[INDEX].validTo","typeLabel":"integer"},"kind":{"type":"string","description":"see `OrderParameters::kind`","enum":["buy","sell"],"isRequired":true,"uniqueKey":"orders.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"receiver":{"oneOf":[{"type":"string","description":"see `OrderParameters::receiver`","example":"0x6810e776880c02933d47db1b9fc05908e5386b96","isRequired":true,"uniqueKey":"orders.items.[INDEX].receiver.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"orders.items.[INDEX].receiver.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"orders.items.[INDEX].receiver","typeLabel":"string | null"},"owner":{"description":"20 byte Ethereum address encoded as a hex with `0x` prefix.","type":"string","example":"0x6810e776880c02933d47db1b9fc05908e5386b96","isRequired":true,"uniqueKey":"orders.items.[INDEX].owner","typeLabel":"string"},"partiallyFillable":{"description":"see `OrderParameters::partiallyFillable`","type":"boolean","isRequired":true,"uniqueKey":"orders.items.[INDEX].partiallyFillable","typeLabel":"boolean"},"executed":{"type":"string","description":"Currently executed amount of sell/buy token, depending on the order kind.\n","example":"1234567890","isRequired":true,"uniqueKey":"orders.items.[INDEX].executed","typeLabel":"string"},"preInteractions":{"description":"The pre-interactions that need to be executed before the first execution of the order.\n","type":"array","items":{"description":"Represents a smart contract interaction that can be executed as part of an order's pre or post hooks.\n","type":"object","properties":{"target":{"type":"string","description":"The address of the contract to call.","example":"0x6810e776880c02933d47db1b9fc05908e5386b96","isRequired":true,"uniqueKey":"orders.items.[INDEX].preInteractions.items.[INDEX].target","typeLabel":"string"},"value":{"type":"string","description":"The amount of native token (ETH, xDAI, etc.) in Wei to send with the interaction call.\n","example":"1234567890","isRequired":true,"uniqueKey":"orders.items.[INDEX].preInteractions.items.[INDEX].value","typeLabel":"string"},"callData":{"type":"string","description":"The calldata to be sent to the target contract. Encoded as a hex string with `0x` prefix.\n","example":"0xca11da7a","isRequired":true,"uniqueKey":"orders.items.[INDEX].preInteractions.items.[INDEX].callData","typeLabel":"string"}},"required":["target","value","callData"],"uniqueKey":"orders.items.[INDEX].preInteractions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"orders.items.[INDEX].preInteractions","typeLabel":"object[]"},"postInteractions":{"description":"The post-interactions that need to be executed after the execution of the order.\n","type":"array","items":{"description":"Represents a smart contract interaction that can be executed as part of an order's pre or post hooks.\n","type":"object","properties":{"target":{"type":"string","description":"The address of the contract to call.","example":"0x6810e776880c02933d47db1b9fc05908e5386b96","isRequired":true,"uniqueKey":"orders.items.[INDEX].postInteractions.items.[INDEX].target","typeLabel":"string"},"value":{"type":"string","description":"The amount of native token (ETH, xDAI, etc.) in Wei to send with the interaction call.\n","example":"1234567890","isRequired":true,"uniqueKey":"orders.items.[INDEX].postInteractions.items.[INDEX].value","typeLabel":"string"},"callData":{"type":"string","description":"The calldata to be sent to the target contract. Encoded as a hex string with `0x` prefix.\n","example":"0xca11da7a","isRequired":true,"uniqueKey":"orders.items.[INDEX].postInteractions.items.[INDEX].callData","typeLabel":"string"}},"required":["target","value","callData"],"uniqueKey":"orders.items.[INDEX].postInteractions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"orders.items.[INDEX].postInteractions","typeLabel":"object[]"},"sellTokenBalance":{"type":"string","description":"see `OrderParameters::sellTokenBalance`","default":"erc20","enum":["erc20","internal","external"],"isRequired":true,"uniqueKey":"orders.items.[INDEX].sellTokenBalance","typeLabel":"enum\u003cstring>"},"buyTokenBalance":{"type":"string","description":"see `OrderParameters::buyTokenBalance`","default":"erc20","enum":["erc20","internal"],"isRequired":true,"uniqueKey":"orders.items.[INDEX].buyTokenBalance","typeLabel":"enum\u003cstring>"},"class":{"description":"Order class.","type":"string","enum":["market","limit","liquidity"],"isRequired":true,"uniqueKey":"orders.items.[INDEX].class","typeLabel":"enum\u003cstring>"},"appData":{"description":"32 bytes encoded as hex with `0x` prefix.\nIt's expected to be the hash of the stringified JSON object representing the `appData`.\n","type":"string","example":"0x0000000000000000000000000000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"orders.items.[INDEX].appData","typeLabel":"string"},"signature":{"oneOf":[{"type":"string","title":"ECDSA Signature","description":"A signature.","example":"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"orders.items.[INDEX].signature.oneOf.0","typeLabel":"string"},{"type":"string","title":"Pre-Signature","description":"A signature.","example":"0x","isRequired":true,"uniqueKey":"orders.items.[INDEX].signature.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"orders.items.[INDEX].signature","typeLabel":"string"},"protocolFees":{"description":"The fee policies that are used to compute the protocol fees for this order.\n","type":"array","items":{"oneOf":[{"type":"object","title":"Surplus Fee","description":"Defines the ways to calculate the protocol fee.","required":["factor","maxVolumeFactor"],"properties":{"factor":{"type":"number","minimum":0,"maximum":1,"exclusiveMaximum":true,"isRequired":true,"uniqueKey":"orders.items.[INDEX].protocolFees.items.[INDEX].oneOf.0.factor","typeLabel":"number"},"maxVolumeFactor":{"type":"number","minimum":0,"maximum":1,"exclusiveMaximum":true,"isRequired":true,"uniqueKey":"orders.items.[INDEX].protocolFees.items.[INDEX].oneOf.0.maxVolumeFactor","typeLabel":"number"}},"uniqueKey":"orders.items.[INDEX].protocolFees.items.[INDEX].oneOf.0","typeLabel":"Surplus Fee · object"},{"type":"object","title":"Volume Fee","description":"Defines the ways to calculate the protocol fee.","required":["factor"],"properties":{"factor":{"type":"number","minimum":0,"maximum":1,"exclusiveMaximum":true,"isRequired":true,"uniqueKey":"orders.items.[INDEX].protocolFees.items.[INDEX].oneOf.1.factor","typeLabel":"number"}},"uniqueKey":"orders.items.[INDEX].protocolFees.items.[INDEX].oneOf.1","typeLabel":"Volume Fee · object"},{"type":"object","title":"Price Improvement Fee","description":"Defines the ways to calculate the protocol fee.","required":["factor","maxVolumeFactor","quote"],"properties":{"factor":{"type":"number","minimum":0,"maximum":1,"exclusiveMaximum":true,"isRequired":true,"uniqueKey":"orders.items.[INDEX].protocolFees.items.[INDEX].oneOf.2.factor","typeLabel":"number"},"maxVolumeFactor":{"type":"number","minimum":0,"maximum":1,"exclusiveMaximum":true,"isRequired":true,"uniqueKey":"orders.items.[INDEX].protocolFees.items.[INDEX].oneOf.2.maxVolumeFactor","typeLabel":"number"},"quote":{"type":"object","description":"The best quote received.","properties":{"sellAmount":{"type":"string","description":"The amount of the sell token.","example":"1234567890","uniqueKey":"orders.items.[INDEX].protocolFees.items.[INDEX].oneOf.2.quote.sellAmount","typeLabel":"string"},"buyAmount":{"type":"string","description":"The amount of the buy token.","example":"1234567890","uniqueKey":"orders.items.[INDEX].protocolFees.items.[INDEX].oneOf.2.quote.buyAmount","typeLabel":"string"},"fee":{"type":"string","description":"The amount that needs to be paid, denominated in the sell token.","example":"1234567890","uniqueKey":"orders.items.[INDEX].protocolFees.items.[INDEX].oneOf.2.quote.fee","typeLabel":"string"}},"isRequired":true,"uniqueKey":"orders.items.[INDEX].protocolFees.items.[INDEX].oneOf.2.quote","typeLabel":"object"}},"uniqueKey":"orders.items.[INDEX].protocolFees.items.[INDEX].oneOf.2","typeLabel":"Price Improvement Fee · object"}],"uniqueKey":"orders.items.[INDEX].protocolFees.items.[INDEX]","typeLabel":"Surplus Fee · object | Volume Fee · object | Price Improvement Fee · object"},"isRequired":true,"uniqueKey":"orders.items.[INDEX].protocolFees","typeLabel":"(Surplus Fee · object | Volume Fee · object | Price Improvement Fee · object)[]"},"quote":{"type":"object","description":"A winning quote.\n","properties":{"sellAmount":{"type":"string","description":"The amount of the sell token.","example":"1234567890","uniqueKey":"orders.items.[INDEX].quote.sellAmount","typeLabel":"string"},"buyAmount":{"type":"string","description":"The amount of the buy token.","example":"1234567890","uniqueKey":"orders.items.[INDEX].quote.buyAmount","typeLabel":"string"},"fee":{"type":"string","description":"The amount that needs to be paid, denominated in the sell token.","example":"1234567890","uniqueKey":"orders.items.[INDEX].quote.fee","typeLabel":"string"}},"uniqueKey":"orders.items.[INDEX].quote","typeLabel":"object"}},"required":["uid","sellToken","buyToken","sellAmount","buyAmount","created","validTo","kind","receiver","owner","partiallyFillable","executed","preInteractions","postInteractions","sellTokenBalance","buyTokenBalance","class","appData","signature","protocolFees"],"uniqueKey":"orders.items.[INDEX]","typeLabel":"object"},"description":"The solvable orders included in the auction.\n","uniqueKey":"orders","typeLabel":"object[]"},"prices":{"description":"The reference prices for all traded tokens in the auction as a mapping from token addresses to a price denominated in native token (i.e. 1e18 represents a token that trades one to one with the native token). These prices are used for solution competition for computing surplus and converting fees to native token.\n","type":"object","additionalProperties":{"description":"A big unsigned integer encoded in decimal.","type":"string","example":"1234567890","uniqueKey":"prices.additionalProperties","typeLabel":"string"},"uniqueKey":"prices","typeLabel":"object"},"surplusCapturingJitOrderOwners":{"type":"array","items":{"description":"20 byte Ethereum address encoded as a hex with `0x` prefix.","type":"string","example":"0x6810e776880c02933d47db1b9fc05908e5386b96","uniqueKey":"surplusCapturingJitOrderOwners.items.[INDEX]","typeLabel":"string"},"description":"List of addresses on whose surplus will count towards the objective value of their solution (unlike other orders that were created by the solver).\n","uniqueKey":"surplusCapturingJitOrderOwners","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":123,"block":123,"orders":[{"uid":"0xff2e2e54d178997f173266817c1e9ed6fee1a1aae4b43971c53b543cffcc2969845c6f5599fbb25dbdd1b9b013daf85c03f3c63763e4bc4a","sellToken":"0x6810e776880c02933d47db1b9fc05908e5386b96","buyToken":"0x6810e776880c02933d47db1b9fc05908e5386b96","sellAmount":"1234567890","buyAmount":"1234567890","created":"123456","validTo":123,"kind":"buy","receiver":"0x6810e776880c02933d47db1b9fc05908e5386b96","owner":"0x6810e776880c02933d47db1b9fc05908e5386b96","partiallyFillable":true,"executed":"1234567890","preInteractions":[{"target":"0x6810e776880c02933d47db1b9fc05908e5386b96","value":"1234567890","callData":"0xca11da7a"}],"postInteractions":[{"target":"0x6810e776880c02933d47db1b9fc05908e5386b96","value":"1234567890","callData":"0xca11da7a"}],"sellTokenBalance":"erc20","buyTokenBalance":"erc20","class":"market","appData":"0x0000000000000000000000000000000000000000000000000000000000000000","signature":"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","protocolFees":[{"factor":0.5,"maxVolumeFactor":0.5}],"quote":{"sellAmount":"1234567890","buyAmount":"1234567890","fee":"1234567890"}}],"prices":{},"surplusCapturingJitOrderOwners":["0x6810e776880c02933d47db1b9fc05908e5386b96"]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"9f164d9c-d8ee-41e2-bc4f-68726558685d":{"description":"Mainnet (Prod)","url":"https://api.cow.fi/mainnet"},"f649d14a-d9d3-4a61-ad1b-884cea39bd36":{"description":"Mainnet (Staging)","url":"https://barn.api.cow.fi/mainnet"},"569eca66-4804-4db6-9c41-15157c059e1f":{"description":"Gnosis Chain (Prod)","url":"https://api.cow.fi/xdai"},"aca9317c-7020-4595-a470-2d6376876df2":{"description":"Gnosis Chain (Staging)","url":"https://barn.api.cow.fi/xdai"},"903d0387-ef4e-4980-a970-a9851272cced":{"description":"Arbitrum One (Prod)","url":"https://api.cow.fi/arbitrum_one"},"4c8848e4-f3ed-453d-9758-2bac3c815834":{"description":"Arbitrum One (Staging)","url":"https://barn.api.cow.fi/arbitrum_one"},"488a45e8-72b7-4b0a-b57b-ecc4283a6512":{"description":"Base (Prod)","url":"https://api.cow.fi/base"},"5fdb35eb-1685-4912-858c-d17f81d22be4":{"description":"Base (Staging)","url":"https://barn.api.cow.fi/base"},"b811bb7b-9541-4dcb-84b1-4ad888ea3ee4":{"description":"Avalanche (Prod)","url":"https://api.cow.fi/avalanche"},"a4da4a01-396e-438e-b483-67a925acca5f":{"description":"Avalanche (Staging)","url":"https://barn.api.cow.fi/avalanche"},"7c184bed-c90d-4814-a338-934d1a6d2bc3":{"description":"Polygon (Prod)","url":"https://api.cow.fi/polygon"},"73c13a85-5e8e-489a-9a87-3fe9f381264c":{"description":"Polygon (Staging)","url":"https://barn.api.cow.fi/polygon"},"6792c108-11b3-4e4b-89c7-c1a31e386a52":{"description":"Lens (Prod)","url":"https://api.cow.fi/lens"},"ce8f7a35-5cc4-4f68-b749-130bee97847e":{"description":"Lens (Staging)","url":"https://barn.api.cow.fi/lens"},"cccda760-c424-4025-aed8-30c70c375746":{"description":"Linea (Prod)","url":"https://api.cow.fi/linea"},"119f169a-6d00-4559-8d73-5440ab085a68":{"description":"Linea (Staging)","url":"https://barn.api.cow.fi/linea"},"58594b60-d434-48ad-aa00-27c878811077":{"description":"BNB (Prod)","url":"https://api.cow.fi/bnb"},"52e6cefb-ca7f-4ec3-9c74-3cf84a9653d3":{"description":"BNB (Staging)","url":"https://barn.api.cow.fi/bnb"},"63a71d62-9d1c-4cbc-a161-73aa5ba3ae66":{"description":"Plasma (Prod)","url":"https://api.cow.fi/plasma"},"c5b863b9-a2f8-4949-a562-7ac3ee8e1fb5":{"description":"Plasma (Staging)","url":"https://barn.api.cow.fi/plasma"},"1583112e-e62a-45b9-964f-e54dc726ff18":{"description":"Ink (Prod)","url":"https://api.cow.fi/ink"},"065b57e4-9d11-4635-b930-d24d985b2f14":{"description":"Ink (Staging)","url":"https://barn.api.cow.fi/ink"},"0d207ed8-08ba-44eb-8b65-23510afb0848":{"description":"Sepolia (Prod)","url":"https://api.cow.fi/sepolia"},"a8fb4500-3b11-4757-9ade-a797ecaaa5be":{"description":"Sepolia (Staging)","url":"https://barn.api.cow.fi/sepolia"},"2de16a6b-81df-41c8-9ed6-d280007758b0":{"description":"Local","url":"http://localhost:8080"}}},"originalFileLocation":"cow-protocol/reference/apis/openapi/orderbook.yml"},"subdomain":"cowswap","siteName":"CoW DAO Documentation","title":"Get the current batch auction. - CoW DAO Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-17T15:46:00.205Z","originalFileLocation":"api-reference/get-the-current-batch-auction.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=\"The current batch auction that solvers should be solving right now. This includes: A list of solvable orders. The block on which the batch was created. * Prices for all tokens being traded (used for objective value computation). Note: This endpoint is currently permissioned. Reach out in discord if you need access.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CoW DAO Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cowswap/nWKu9avl8veqtVHU/_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/cowswap/nWKu9avl8veqtVHU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cowswap/nWKu9avl8veqtVHU/_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/cowswap/nWKu9avl8veqtVHU/_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/cowswap/nWKu9avl8veqtVHU/_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/cowswap/nWKu9avl8veqtVHU/_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/cowswap/nWKu9avl8veqtVHU/_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/cowswap/nWKu9avl8veqtVHU/_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/cowswap/nWKu9avl8veqtVHU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get the current batch auction. - CoW DAO Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"The current batch auction that solvers should be solving right now. This includes: A list of solvable orders. The block on which the batch was created. * Prices for all tokens being traded (used for objective value computation). Note: This endpoint is currently permissioned. Reach out in discord if you need access.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CoW DAO Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cow.bleu.builders/api-reference/get-the-current-batch-auction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cowswap.mintlify.site/_mintlify/api/og/v2?division=Auctions\u0026amp;title=Get+the+current+batch+auction.\u0026amp;description=The+current+batch+auction+that+solvers+should+be+solving+right+now.+This%0Aincludes%3A%0A%0A*+A+list+of+solvable+orders.+*+The+block+on+which+the+batch+was+created.%0A*+P\u0026amp;theme=41809729056d2468806b22d8\u0026amp;signature=d634f13287a7661e33f2a1d5df4cc97991edb49bd62cc9479122480aff1adcf1\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get the current batch auction. - CoW DAO Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The current batch auction that solvers should be solving right now. This includes: A list of solvable orders. The block on which the batch was created. * Prices for all tokens being traded (used for objective value computation). Note: This endpoint is currently permissioned. Reach out in discord if you need access.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cowswap.mintlify.site/_mintlify/api/og/v2?division=Auctions\u0026amp;title=Get+the+current+batch+auction.\u0026amp;description=The+current+batch+auction+that+solvers+should+be+solving+right+now.+This%0Aincludes%3A%0A%0A*+A+list+of+solvable+orders.+*+The+block+on+which+the+batch+was+created.%0A*+P\u0026amp;theme=41809729056d2468806b22d8\u0026amp;signature=d634f13287a7661e33f2a1d5df4cc97991edb49bd62cc9479122480aff1adcf1\">\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/cowswap/nWKu9avl8veqtVHU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CoW DAO Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#012F7A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cow.bleu.builders/api-reference/get-the-current-batch-auction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/get-the-current-batch-auction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cow.bleu.builders/#organization\",\"name\":\"CoW DAO Documentation\",\"url\":\"https://docs.cow.bleu.builders\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cowswap/eI7SJtCRQaJAMfZg/images/cow-logo.svg?fit=max\u0026auto=format\u0026n=eI7SJtCRQaJAMfZg\u0026q=85\u0026s=ad3ebf82be1922533f9c85c89d92f35b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cow.bleu.builders#website\",\"name\":\"CoW DAO Documentation\",\"url\":\"https://docs.cow.bleu.builders\",\"publisher\":{\"@id\":\"https://docs.cow.bleu.builders/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cow.bleu.builders/api-reference/get-the-current-batch-auction#webpage\",\"url\":\"https://docs.cow.bleu.builders/api-reference/get-the-current-batch-auction\",\"name\":\"Get the current batch auction.\",\"description\":\"The current batch auction that solvers should be solving right now. This includes: A list of solvable orders. The block on which the batch was created. * Prices for all tokens being traded (used for objective value computation). Note: This endpoint is currently permissioned. Reach out in discord if you need access.\",\"dateModified\":\"2026-03-17T15:46:00.205Z\",\"isPartOf\":{\"@id\":\"https://docs.cow.bleu.builders#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cow.bleu.builders/api-reference/get-the-current-batch-auction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cow.bleu.builders/api-reference/get-the-current-batch-auction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.cow.bleu.builders/cow-protocol/reference/apis/orderbook\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orderbook Endpoints\",\"item\":\"https://docs.cow.bleu.builders/api-reference/quote-a-price-and-fee-for-the-specified-order-parameters\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get the current batch auction.\",\"item\":\"https://docs.cow.bleu.builders/api-reference/get-the-current-batch-auction\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.cow.bleu.builders/api-reference/get-the-current-batch-auction#apireference\",\"headline\":\"Get the current batch auction.\",\"name\":\"Get the current batch auction.\",\"description\":\"The current batch auction that solvers should be solving right now. This includes: A list of solvable orders. The block on which the batch was created. * Prices for all tokens being traded (used for objective value computation). Note: This endpoint is currently permissioned. Reach out in discord if you need access.\",\"url\":\"https://docs.cow.bleu.builders/api-reference/get-the-current-batch-auction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cow.bleu.builders/api-reference/get-the-current-batch-auction#webpage\"},\"dateModified\":\"2026-03-17T15:46:00.205Z\",\"publisher\":{\"@id\":\"https://docs.cow.bleu.builders/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cow.bleu.builders#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CoW DAO Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CoW DAO Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/get-the-current-batch-auction.md","siteName":"CoW DAO Documentation","nav":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"/"},{"anchor":"Launch CoW Swap","icon":"arrow-right-arrow-left","href":"https://swap.cow.fi"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"/changelog"},{"anchor":"About These Docs","icon":"book","href":"/about-these-docs"}]},"tabs":[{"tab":"CoW Swap","icon":"arrow-right-arrow-left","pages":[{"title":"CoW Swap","href":"/cow-swap/overview"}]},{"tab":"CoW Protocol","icon":"cow","groups":[{"group":"Overview","icon":"book-open","pages":[{"title":"What is CoW Protocol?","href":"/cow-protocol/overview"},{"title":"Intents","href":"/cow-protocol/explanation/introduction/intents"},{"title":"Solvers","href":"/cow-protocol/explanation/introduction/solvers"},{"title":"Fair Combinatorial Batch Auction","href":"/cow-protocol/explanation/introduction/fair-combinatorial-auction"},{"title":"Integrate CoW Protocol","href":"/cow-protocol/explanation/integration-overview"},{"title":"Building on CoW Protocol","href":"/cow-protocol/explanation/building"}]},{"group":"How It Works","icon":"circle-info","pages":[{"title":"Flow of an order","href":"/cow-protocol/explanation/how-it-works/flow-of-an-order"},{"title":"How Intents Are Formed","href":"/cow-protocol/explanation/how-it-works/how-intents-are-formed"},{"title":"Quote Selection","href":"/cow-protocol/explanation/how-it-works/quote-selection"},{"title":"Coincidence of Wants","href":"/cow-protocol/explanation/how-it-works/coincidence-of-wants"},{"title":"Fee Model","href":"/cow-protocol/explanation/fee-model"}]},{"group":"Benefits","icon":"shield-check","pages":[{"title":"MEV protection","href":"/cow-protocol/explanation/benefits/mev-protection"},{"title":"Price improvement","href":"/cow-protocol/explanation/benefits/price-improvement"},{"title":"Trade any intent","href":"/cow-protocol/explanation/benefits/trade-any-intent"},{"title":"Additional benefits","href":"/cow-protocol/explanation/benefits/additional-benefits"}]},{"group":"Order Types","icon":"list-check","pages":[{"title":"Market orders","href":"/cow-protocol/explanation/order-types/market-orders"},{"title":"Limit orders","href":"/cow-protocol/explanation/order-types/limit-orders"},{"title":"TWAP orders","href":"/cow-protocol/explanation/order-types/twap-orders"},{"title":"Programmatic orders","href":"/cow-protocol/explanation/order-types/programmatic-orders"},{"title":"CoW Hooks","href":"/cow-protocol/explanation/order-types/cow-hooks"},{"title":"Milkman orders","href":"/cow-protocol/explanation/order-types/milkman-orders"},{"title":"Wrappers","href":"/cow-protocol/explanation/order-types/wrappers"},{"title":"Repay debt with collateral using flash loans","href":"/cow-protocol/explanation/order-types/pay-debt-flash-loans"},{"title":"Liquidations","href":"/cow-protocol/explanation/order-types/liquidations"}]},{"group":"Flash Loans","icon":"bolt","pages":[{"title":"What is a flash loan?","href":"/cow-protocol/explanation/flash-loans/Introduction"},{"title":"How does it work?","href":"/cow-protocol/explanation/flash-loans/how-it-works"},{"title":"How to specify an order with flash loan","href":"/cow-protocol/explanation/flash-loans/integrators"}]},{"group":"CoW AMM","icon":"droplet","pages":[{"title":"The Problem of LVR (Loss-versus-rebalancing)","href":"/cow-amm/explanation/the-problem-of-lvr"},{"title":"How CoW AMMs Work","href":"/cow-amm/explanation/how-cow-amms-work"},{"title":"CoW AMM Deployer","href":"/cow-protocol/tutorials/cow-amm-deployer"}]},{"group":"CoW Explorer","icon":"magnifying-glass","pages":[{"title":"Viewing orders","href":"/cow-protocol/howto/cow-explorer"},{"group":"Tutorials","pages":[{"title":"By order","href":"/cow-protocol/tutorials/cow-explorer/order"},{"title":"By batch auction","href":"/cow-protocol/tutorials/cow-explorer/batch-auction"},{"title":"By user address","href":"/cow-protocol/tutorials/cow-explorer/address"}]}]},{"group":"Integration","icon":"wrench","pages":[{"title":"API Integration Guide","href":"/cow-protocol/howto/integrate/api"},{"title":"Testing Your Integration","href":"/cow-protocol/howto/integrate/testing"},{"group":"Quickstarts","pages":[{"title":"Quickstart: Raw API (cURL)","href":"/cow-protocol/tutorials/quickstart-curl"},{"title":"Quickstart: Python","href":"/cow-protocol/tutorials/quickstart-python"},{"title":"Token Approvals \u0026 GPv2VaultRelayer","href":"/cow-protocol/tutorials/token-approvals"}]},{"title":"AI Agent Orders","sidebarTitle":"AI Agent Orders","href":"/cow-protocol/tutorials/agent-orders"}]},{"group":"Architecture","icon":"sitemap","pages":[{"title":"Arbitrating auctions","href":"/cow-protocol/explanation/architecture/overview"},{"title":"Autopilot","href":"/cow-protocol/explanation/architecture/autopilot"},{"title":"Order book","href":"/cow-protocol/explanation/architecture/orderbook"},{"title":"Driver","href":"/cow-protocol/explanation/architecture/driver"},{"title":"Solver Engine","href":"/cow-protocol/explanation/architecture/solver-engine"}]},{"group":"API Reference","icon":"square-terminal","pages":[{"title":"Orderbook API","href":"/cow-protocol/reference/apis/orderbook"},{"group":"Orderbook Endpoints","pages":[{"group":"Quotes","pages":[{"title":"Quote a price and fee for the specified order parameters.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml post /api/v1/quote","href":"/api-reference/quote-a-price-and-fee-for-the-specified-order-parameters"}]},{"group":"Orders","pages":[{"title":"Create a new order.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml post /api/v1/orders","href":"/api-reference/create-a-new-order"},{"title":"Cancel multiple orders by marking them invalid with a timestamp.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml delete /api/v1/orders","href":"/api-reference/cancel-multiple-orders-by-marking-them-invalid-with-a-timestamp"},{"title":"Get existing orders from the list of UIDs.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml post /api/v1/orders/by_uids","href":"/api-reference/get-existing-orders-from-the-list-of-uids"},{"title":"Get existing order from UID.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/orders/{UID}","href":"/api-reference/get-existing-order-from-uid"},{"title":"Cancel an order by marking it invalid with a timestamp.","deprecated":true,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml delete /api/v1/orders/{UID}","href":"/api-reference/cancel-an-order-by-marking-it-invalid-with-a-timestamp"},{"title":"Get the status of an order.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/orders/{UID}/status","href":"/api-reference/get-the-status-of-an-order"},{"title":"Get orders of one user paginated.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/account/{owner}/orders","href":"/api-reference/get-orders-of-one-user-paginated"},{"title":"Get orders by settlement transaction hash.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/transactions/{txHash}/orders","href":"/api-reference/get-orders-by-settlement-transaction-hash"}]},{"group":"Trades","pages":[{"title":"Get existing trades (paginated).","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/trades","href":"/api-reference/get-existing-trades-paginated"},{"title":"Get existing trades (unpaginated).","description":"**Deprecated:** This endpoint is deprecated and will be removed in the future. Please use `/api/v2/trades` instead, which provides pagination support.\n\nExactly one of `owner` or `orderUid` must be set.\n\nResults are sorted by block number and log index descending (newest trades first).\n\n**Note:** This endpoint returns all matching trades without pagination. For paginated results, use `/api/v2/trades`.\n\nRelated docs:\n- [Orderbook API overview](/cow-protocol/reference/apis/orderbook)\n- [GET /api/v2/trades](/api-reference/get-existing-trades-paginated)\n","deprecated":true,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/trades","href":"/api-reference/get-existing-trades-unpaginated"}]},{"group":"Auctions","pages":[{"title":"Get the current batch auction.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/auction","href":"/api-reference/get-the-current-batch-auction"},{"title":"Get information about a solver competition.","description":"Returns the competition information by `auction_id`.\n","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/solver_competition/{auction_id}","href":"/api-reference/get-information-about-a-solver-competition"},{"title":"Get information about solver competition.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/solver_competition/by_tx_hash/{tx_hash}","href":"/api-reference/get-information-about-solver-competition"},{"title":"Get information about the most recent solver competition.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/solver_competition/latest","href":"/api-reference/get-information-about-the-most-recent-solver-competition"},{"title":"Get information about a solver competition.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/solver_competition/{auction_id}","href":"/api-reference/get-information-about-a-solver-competition"},{"title":"Get information about solver competition.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/solver_competition/by_tx_hash/{tx_hash}","href":"/api-reference/get-information-about-solver-competition"},{"title":"Get information about the most recent solver competition.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/solver_competition/latest","href":"/api-reference/get-information-about-the-most-recent-solver-competition"}]},{"group":"Utilities","pages":[{"title":"Get the API's current deployed version.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/version","href":"/api-reference/get-the-apis-current-deployed-version"},{"title":"Get native price for the given token.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/token/{token}/native_price","href":"/api-reference/get-native-price-for-the-given-token"},{"title":"Get the full `appData` from contract `appDataHash`.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/app_data/{app_data_hash}","href":"/api-reference/get-the-full-`appdata`-from-contract-`appdatahash`"},{"title":"Registers a full `appData` so it can be referenced by `appDataHash`.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml put /api/v1/app_data/{app_data_hash}","href":"/api-reference/registers-a-full-`appdata`-so-it-can-be-referenced-by-`appdatahash`"},{"title":"Registers a full `appData` and returns `appDataHash`.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml put /api/v1/app_data","href":"/api-reference/registers-a-full-`appdata`-and-returns-`appdatahash`"},{"title":"Get the total surplus earned by the user. [UNSTABLE]","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/users/{address}/total_surplus","href":"/api-reference/get-the-total-surplus-earned-by-the-user-[unstable]"},{"title":"Debug an order's lifecycle.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/debug/order/{uid}","href":"/api-reference/debug-an-orders-lifecycle"}]}]},{"title":"Solver API","href":"/cow-protocol/reference/apis/solver"},{"title":"Driver API","href":"/cow-protocol/reference/apis/driver"}]},{"group":"Core Reference","icon":"file-code","pages":[{"title":"Definitions","href":"/cow-protocol/reference/core/definitions"},{"title":"Supported tokens","href":"/cow-protocol/reference/core/tokens"},{"title":"Signing schemes","href":"/cow-protocol/reference/core/signing-schemes"},{"title":"Error Reference","href":"/cow-protocol/reference/core/error-reference"},{"title":"Rate Limits \u0026 Quotas","href":"/cow-protocol/reference/core/rate-limits"},{"group":"Intents","pages":[{"title":"Intents","href":"/cow-protocol/reference/core/intents"},{"title":"Application specific data","href":"/cow-protocol/reference/core/intents/app-data"},{"title":"Hooks","href":"/cow-protocol/reference/core/intents/hooks"}]}]},{"group":"Auctions","icon":"gavel","expanded":false,"pages":[{"title":"Auction mechanism","href":"/cow-protocol/reference/core/auctions"},{"title":"What is solving? A mathematical, high-level description","href":"/cow-protocol/reference/core/auctions/the-problem"},{"title":"Schemas","href":"/cow-protocol/reference/core/auctions/schema"},{"title":"Solver competition rules","href":"/cow-protocol/reference/core/auctions/competition-rules"},{"title":"EBBO violations: details","href":"/cow-protocol/reference/core/auctions/ebbo-rules"},{"title":"Solver rewards","href":"/cow-protocol/reference/core/auctions/rewards"},{"title":"Solver competition accounting process","href":"/cow-protocol/reference/core/auctions/accounting"},{"title":"Setting up a bonding pool","href":"/cow-protocol/reference/core/auctions/bonding-pools"}]}]},{"tab":"Contracts","icon":"file-contract","pages":[{"title":"Contracts","href":"/cow-protocol/reference/contracts/core"}]},{"tab":"TypeScript SDK","icon":"code","pages":[{"title":"TypeScript SDK","href":"/cow-sdk/introduction"}]},{"tab":"Python SDK","icon":"python","pages":[{"title":"Python SDK","href":"/cow-py/introduction"}]},{"tab":"Solvers","icon":"gears","pages":[{"title":"Solvers","href":"/cow-protocol/tutorials/solvers/local_test"}]},{"tab":"Backend","icon":"server","pages":[{"title":"Backend","href":"/bff/introduction"}]},{"tab":"Governance","icon":"landmark","pages":[{"title":"Governance","href":"/governance"}]}]},"basePath":"","title":"Get the current batch auction. - CoW DAO Documentation","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-D6S0Yh6q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}