Submits wallet.execute_batch. Use this method for normal order entry and cancellation integrations.
The example uses the verified mainnet WETHUSDC market, but its wallet, nonce, deadline, account ID, and signature are placeholders. Build and sign a fresh intent for the selected network before submitting.
string
required
New lowercase UUIDv7 for correlation.
string
default:"wallet.execute_batch"
required
Must be wallet.execute_batch.
string
required
Secondary trading EOA matching the bearer JWT.
object
required
Signed BatchIntent containing header, orders, cancelSlotIdxs, expectedOrderIds, and signature.
object | null
Normally null after onboarding.
The header requires accountId, market, authNonce, increasing nonce, Unix-second deadline, 32-byte clientOrderId, builder, and builderFeePps. Every integer is a canonical unsigned decimal string.For the verified-account rate tier, first obtain a JWT with uid at POST /auth/token; the signed header.accountId must equal that verified uid. An unscoped wallet JWT still works but uses the wallet-based quota. Do not add uid to this submission envelope.Sign BatchIntent with the KuruTradingWallet EIP-712 domain: version 2, chain ID 143 on mainnet or 10143 on testnet, and the delegated trading EOA as verifyingContract (not the shared implementation or Relay address). Version-1 wallet signatures are invalid for the current implementation; rebuild and re-sign any pending intents created with that domain. AccountCore signer grants use their separate KuruAccountCore version-1 domain. See Trading-wallet Signing.Each native order requires side (BUY/SELL), quantity, price, tif (GTC/IOC/FOK), executionInstruction (NONE/POST_ONLY), and minSizeAfterBlock. Post-only requires GTC.
Up to 256 orders and 62 unique cancellations are accepted. expectedOrderIds must be parallel to cancelSlotIdxs; bind cancellations to current order IDs whenever possible.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Kuru","description":"Understand Kuru, trade onchain, and build exchange integrations.","colors":{"primary":"#357A1D","light":"#A8EE7A","dark":"#4B842D"},"logo":{"light":"https://mintcdn.com/kuru/ZJFEKPbRANZFowHn/logo/Kuru_Dark_Full.svg?fit=max\u0026auto=format\u0026n=ZJFEKPbRANZFowHn\u0026q=85\u0026s=d30ea59720742757617f228333d6ce92","dark":"https://mintcdn.com/kuru/ZJFEKPbRANZFowHn/logo/Kuru_Light_Full.svg?fit=max\u0026auto=format\u0026n=ZJFEKPbRANZFowHn\u0026q=85\u0026s=8f93c2f3c01cbb60e2888bc41a1085b5"},"favicon":"https://mintcdn.com/kuru/mDO1HI37CmzeGv-Q/logo/KuruLogo.png?fit=max\u0026auto=format\u0026n=mDO1HI37CmzeGv-Q\u0026q=85\u0026s=b107f6940f9cb532de473b760f30a3b5","api":{"asyncapi":["api/exchange/asyncapi.yaml","api/relay/asyncapi.yaml"],"playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["curl","javascript","python"]},"mdx":{"server":["https://relay.mainnet.kuru.io","https://relay.testnet.kuru.io"]}},"footer":{"socials":{"x":"https://x.com/kuruexchange","github":"https://github.com/kuru-labs"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kuru","hasAudioNarration":false,"actualSubdomain":"kuru","customDomains":["docs.kuru.io"],"gitSource":{"type":"github","owner":"kuru-labs","repo":"v2-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af6b03f5a67264d6e5a93fe","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API","count":74},{"language":"default","tag":"Relay APIs","count":39},{"language":"default","tag":"SDK","count":29},{"language":"default","tag":"Docs","count":20},{"language":"default","tag":"Data Source APIs","count":17},{"language":"default","tag":"Data Source REST methods","count":16},{"language":"default","tag":"Exchange APIs","count":15},{"language":"default","tag":"Opt-in operational REST methods","count":9},{"language":"default","tag":"Opt-in operational WebSocket methods","count":9},{"language":"default","tag":"Exchange WebSocket methods","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api/relay/reference/execute-batch","slug":"/api/relay/reference/execute-batch","pageMetadata":{"title":"Execute order batch","description":"Place readable native orders, cancel maker slots, or perform both atomically.","api":"POST /relay","authMethod":"bearer","href":"/api/relay/reference/execute-batch"},"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: \"Place readable native orders, cancel maker slots, or perform both atomically.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Info,ParamField}=_components;if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Submits `,_jsx(_components.code,{children:`wallet.execute_batch`}),`. Use this method for normal order entry and cancellation integrations.`]}),`\n`,_jsx(Info,{children:`The example uses the verified mainnet WETHUSDC market, but its wallet, nonce, deadline, account ID, and signature are placeholders. Build and sign a fresh intent for the selected network before submitting.`}),`\n`,_jsx(ParamField,{body:`requestId`,type:`string`,required:true,id:`param-request-id`,children:`New lowercase UUIDv7 for correlation.`}),`\n`,_jsxs(ParamField,{body:`method`,type:`string`,required:true,default:`wallet.execute_batch`,id:`param-method`,children:[`Must be `,_jsx(_components.code,{children:`wallet.execute_batch`}),`.`]}),`\n`,_jsx(ParamField,{body:`wallet`,type:`string`,required:true,id:`param-wallet`,children:`Secondary trading EOA matching the bearer JWT.`}),`\n`,_jsx(ParamField,{body:`payload`,type:`object`,required:true,id:`param-payload`,children:_jsxs(_components.p,{children:[`Signed `,_jsx(_components.code,{children:`BatchIntent`}),` containing `,_jsx(_components.code,{children:`header`}),`, `,_jsx(_components.code,{children:`orders`}),`, `,_jsx(_components.code,{children:`cancelSlotIdxs`}),`, `,_jsx(_components.code,{children:`expectedOrderIds`}),`, and `,_jsx(_components.code,{children:`signature`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`authorization7702`,type:`object | null`,id:`param-authorization7702`,children:[`Normally `,_jsx(_components.code,{children:`null`}),` after onboarding.`]}),`\n`,_jsxs(_components.p,{children:[`The header requires `,_jsx(_components.code,{children:`accountId`}),`, `,_jsx(_components.code,{children:`market`}),`, `,_jsx(_components.code,{children:`authNonce`}),`, increasing `,_jsx(_components.code,{children:`nonce`}),`, Unix-second `,_jsx(_components.code,{children:`deadline`}),`, 32-byte `,_jsx(_components.code,{children:`clientOrderId`}),`, `,_jsx(_components.code,{children:`builder`}),`, and `,_jsx(_components.code,{children:`builderFeePps`}),`. Every integer is a canonical unsigned decimal string.`]}),`\n`,_jsxs(_components.p,{children:[`For the `,_jsx(_components.a,{href:`/api/relay/rate-limits`,children:`verified-account rate tier`}),`, first obtain a JWT with `,_jsx(_components.code,{children:`uid`}),` at `,_jsx(_components.code,{children:`POST /auth/token`}),`; the signed `,_jsx(_components.code,{children:`header.accountId`}),` must equal that verified `,_jsx(_components.code,{children:`uid`}),`. An unscoped wallet JWT still works but uses the wallet-based quota. Do not add `,_jsx(_components.code,{children:`uid`}),` to this submission envelope.`]}),`\n`,_jsxs(_components.p,{children:[`Sign `,_jsx(_components.code,{children:`BatchIntent`}),` with the `,_jsx(_components.code,{children:`KuruTradingWallet`}),` EIP-712 domain: version `,_jsx(_components.code,{children:`2`}),`, chain ID `,_jsx(_components.code,{children:`143`}),` on mainnet or `,_jsx(_components.code,{children:`10143`}),` on testnet, and the `,_jsx(_components.strong,{children:`delegated trading EOA`}),` as `,_jsx(_components.code,{children:`verifyingContract`}),` (not the shared implementation or Relay address). Version-`,_jsx(_components.code,{children:`1`}),` wallet signatures are invalid for the current implementation; rebuild and re-sign any pending intents created with that domain. AccountCore signer grants use their separate `,_jsx(_components.code,{children:`KuruAccountCore`}),` version-`,_jsx(_components.code,{children:`1`}),` domain. See `,_jsx(_components.a,{href:`/sdk/trading-wallet`,children:`Trading-wallet Signing`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Each native order requires `,_jsx(_components.code,{children:`side`}),` (`,_jsx(_components.code,{children:`BUY`}),`/`,_jsx(_components.code,{children:`SELL`}),`), `,_jsx(_components.code,{children:`quantity`}),`, `,_jsx(_components.code,{children:`price`}),`, `,_jsx(_components.code,{children:`tif`}),` (`,_jsx(_components.code,{children:`GTC`}),`/`,_jsx(_components.code,{children:`IOC`}),`/`,_jsx(_components.code,{children:`FOK`}),`), `,_jsx(_components.code,{children:`executionInstruction`}),` (`,_jsx(_components.code,{children:`NONE`}),`/`,_jsx(_components.code,{children:`POST_ONLY`}),`), and `,_jsx(_components.code,{children:`minSizeAfterBlock`}),`. Post-only requires GTC.`]}),`\n`,`\n`,_jsxs(_components.p,{children:[`Up to 256 orders and 62 unique cancellations are accepted. `,_jsx(_components.code,{children:`expectedOrderIds`}),` must be parallel to `,_jsx(_components.code,{children:`cancelSlotIdxs`}),`; bind cancellations to current order IDs whenever possible.`]})]})}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":"Execute order batch","description":"Place readable native orders, cancel maker slots, or perform both atomically.","api":"POST /relay","authMethod":"bearer","href":"/api/relay/reference/execute-batch"}}},"mdxSourceWithNoJs":{"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`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Info,ParamField,RequestExample,ResponseExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Submits `,_jsx(_components.code,{children:`wallet.execute_batch`}),`. Use this method for normal order entry and cancellation integrations.`]}),`\n`,_jsx(Info,{children:`The example uses the verified mainnet WETHUSDC market, but its wallet, nonce, deadline, account ID, and signature are placeholders. Build and sign a fresh intent for the selected network before submitting.`}),`\n`,_jsx(ParamField,{body:`requestId`,type:`string`,required:true,id:`param-request-id`,children:`New lowercase UUIDv7 for correlation.`}),`\n`,_jsxs(ParamField,{body:`method`,type:`string`,required:true,default:`wallet.execute_batch`,id:`param-method`,children:[`Must be `,_jsx(_components.code,{children:`wallet.execute_batch`}),`.`]}),`\n`,_jsx(ParamField,{body:`wallet`,type:`string`,required:true,id:`param-wallet`,children:`Secondary trading EOA matching the bearer JWT.`}),`\n`,_jsx(ParamField,{body:`payload`,type:`object`,required:true,id:`param-payload`,children:_jsxs(_components.p,{children:[`Signed `,_jsx(_components.code,{children:`BatchIntent`}),` containing `,_jsx(_components.code,{children:`header`}),`, `,_jsx(_components.code,{children:`orders`}),`, `,_jsx(_components.code,{children:`cancelSlotIdxs`}),`, `,_jsx(_components.code,{children:`expectedOrderIds`}),`, and `,_jsx(_components.code,{children:`signature`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`authorization7702`,type:`object | null`,id:`param-authorization7702`,children:[`Normally `,_jsx(_components.code,{children:`null`}),` after onboarding.`]}),`\n`,_jsxs(_components.p,{children:[`The header requires `,_jsx(_components.code,{children:`accountId`}),`, `,_jsx(_components.code,{children:`market`}),`, `,_jsx(_components.code,{children:`authNonce`}),`, increasing `,_jsx(_components.code,{children:`nonce`}),`, Unix-second `,_jsx(_components.code,{children:`deadline`}),`, 32-byte `,_jsx(_components.code,{children:`clientOrderId`}),`, `,_jsx(_components.code,{children:`builder`}),`, and `,_jsx(_components.code,{children:`builderFeePps`}),`. Every integer is a canonical unsigned decimal string.`]}),`\n`,_jsxs(_components.p,{children:[`For the `,_jsx(_components.a,{href:`/api/relay/rate-limits`,children:`verified-account rate tier`}),`, first obtain a JWT with `,_jsx(_components.code,{children:`uid`}),` at `,_jsx(_components.code,{children:`POST /auth/token`}),`; the signed `,_jsx(_components.code,{children:`header.accountId`}),` must equal that verified `,_jsx(_components.code,{children:`uid`}),`. An unscoped wallet JWT still works but uses the wallet-based quota. Do not add `,_jsx(_components.code,{children:`uid`}),` to this submission envelope.`]}),`\n`,_jsxs(_components.p,{children:[`Sign `,_jsx(_components.code,{children:`BatchIntent`}),` with the `,_jsx(_components.code,{children:`KuruTradingWallet`}),` EIP-712 domain: version `,_jsx(_components.code,{children:`2`}),`, chain ID `,_jsx(_components.code,{children:`143`}),` on mainnet or `,_jsx(_components.code,{children:`10143`}),` on testnet, and the `,_jsx(_components.strong,{children:`delegated trading EOA`}),` as `,_jsx(_components.code,{children:`verifyingContract`}),` (not the shared implementation or Relay address). Version-`,_jsx(_components.code,{children:`1`}),` wallet signatures are invalid for the current implementation; rebuild and re-sign any pending intents created with that domain. AccountCore signer grants use their separate `,_jsx(_components.code,{children:`KuruAccountCore`}),` version-`,_jsx(_components.code,{children:`1`}),` domain. See `,_jsx(_components.a,{href:`/sdk/trading-wallet`,children:`Trading-wallet Signing`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Each native order requires `,_jsx(_components.code,{children:`side`}),` (`,_jsx(_components.code,{children:`BUY`}),`/`,_jsx(_components.code,{children:`SELL`}),`), `,_jsx(_components.code,{children:`quantity`}),`, `,_jsx(_components.code,{children:`price`}),`, `,_jsx(_components.code,{children:`tif`}),` (`,_jsx(_components.code,{children:`GTC`}),`/`,_jsx(_components.code,{children:`IOC`}),`/`,_jsx(_components.code,{children:`FOK`}),`), `,_jsx(_components.code,{children:`executionInstruction`}),` (`,_jsx(_components.code,{children:`NONE`}),`/`,_jsx(_components.code,{children:`POST_ONLY`}),`), and `,_jsx(_components.code,{children:`minSizeAfterBlock`}),`. Post-only requires GTC.`]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`15`,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:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl --request POST --url https://relay.mainnet.kuru.io/relay \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --header \"Authorization: Bearer $KURU_RELAY_JWT\" \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --header 'Content-Type: application/json' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --data '{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"requestId\":\"018f5ef2-88a1-7b41-a826-4b679010f87f\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"method\":\"wallet.execute_batch\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"wallet\":\"0x1111111111111111111111111111111111111111\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"payload\":{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"header\":{\"accountId\":\"123\",\"market\":\"0x8121ee960066e4344a213f9ac7502395502aee7a\",\"authNonce\":\"1\",\"nonce\":\"1720000000123\",\"deadline\":\"1720000030\",\"clientOrderId\":\"0x0000000000000000000000000000000000000000000000000000000000000001\",\"builder\":\"0x0000000000000000000000000000000000000000\",\"builderFeePps\":\"0\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"orders\":[{\"side\":\"BUY\",\"quantity\":\"1000000\",\"price\":\"123400\",\"tif\":\"GTC\",\"executionInstruction\":\"POST_ONLY\",\"minSizeAfterBlock\":\"0\"}],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"cancelSlotIdxs\":[],\"expectedOrderIds\":[],\"signature\":\"0x...\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"authorization7702\":null`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),`\n`,_jsxs(_components.p,{children:[`Up to 256 orders and 62 unique cancellations are accepted. `,_jsx(_components.code,{children:`expectedOrderIds`}),` must be parallel to `,_jsx(_components.code,{children:`cancelSlotIdxs`}),`; bind cancellations to current order IDs whenever possible.`]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`BROADCAST`,numberOfLines:`8`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"requestId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"018f5ef2-88a1-7b41-a826-4b679010f87f\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BROADCAST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"txHash\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sponsorAddress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sponsorNonce\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"42\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transactionType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"DYNAMIC_FEE\"`})]}),`\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.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Execute order batch","description":"Place readable native orders, cancel maker slots, or perform both atomically.","api":"POST /relay","authMethod":"bearer","href":"/api/relay/reference/execute-batch"}}}},"mdxExtracts":{"tableOfContents":[],"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=\"text\">\u003ccode language=\"text\" numberOfLines=\"15\">\u003cspan class=\"line\">\u003cspan>curl --request POST --url https://relay.mainnet.kuru.io/relay \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> --header \"Authorization: Bearer $KURU_RELAY_JWT\" \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> --header 'Content-Type: application/json' \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> --data '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> \"requestId\":\"018f5ef2-88a1-7b41-a826-4b679010f87f\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> \"method\":\"wallet.execute_batch\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> \"wallet\":\"0x1111111111111111111111111111111111111111\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> \"payload\":{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> \"header\":{\"accountId\":\"123\",\"market\":\"0x8121ee960066e4344a213f9ac7502395502aee7a\",\"authNonce\":\"1\",\"nonce\":\"1720000000123\",\"deadline\":\"1720000030\",\"clientOrderId\":\"0x0000000000000000000000000000000000000000000000000000000000000001\",\"builder\":\"0x0000000000000000000000000000000000000000\",\"builderFeePps\":\"0\"},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> \"orders\":[{\"side\":\"BUY\",\"quantity\":\"1000000\",\"price\":\"123400\",\"tif\":\"GTC\",\"executionInstruction\":\"POST_ONLY\",\"minSizeAfterBlock\":\"0\"}],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> \"cancelSlotIdxs\":[],\"expectedOrderIds\":[],\"signature\":\"0x...\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> \"authorization7702\":null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> }'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"BROADCAST","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=\"json\">\u003ccode language=\"json\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"requestId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"018f5ef2-88a1-7b41-a826-4b679010f87f\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BROADCAST\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"txHash\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sponsorAddress\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sponsorNonce\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"42\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"transactionType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"DYNAMIC_FEE\"\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":"Execute order batch","path":"/relay","servers":[{"url":"https://relay.mainnet.kuru.io"},{"url":"https://relay.testnet.kuru.io"}],"method":"post","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":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"requestId":[{"type":"string","description":"New lowercase UUIDv7 for correlation.","required":true}],"method":[{"type":"string","description":"Must be `wallet.execute_batch` .","required":true}],"wallet":[{"type":"string","description":"Secondary trading EOA matching the bearer JWT.","required":true}],"payload":[{"type":"object","properties":{},"description":"Signed `BatchIntent` containing `header` , `orders` , `cancelSlotIdxs` , `expectedOrderIds` , and `signature` .","required":true}],"authorization7702":[{"type":"object","properties":{},"description":"Normally `null` after onboarding."}]}}],"examples":{"example":{"value":{"requestId":"\u003cstring>","method":"\u003cstring>","wallet":"\u003cstring>","payload":{},"authorization7702":{}}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"kuru","siteName":"Kuru","title":"Execute order batch - Kuru","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T18:54:40.994Z","originalFileLocation":"api/relay/reference/execute-batch.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=\"Place readable native orders, cancel maker slots, or perform both atomically.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kuru\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kuru/YfLGlVkjCduqwDUs/_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/kuru/YfLGlVkjCduqwDUs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kuru/YfLGlVkjCduqwDUs/_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/kuru/YfLGlVkjCduqwDUs/_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/kuru/YfLGlVkjCduqwDUs/_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/kuru/YfLGlVkjCduqwDUs/_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/kuru/YfLGlVkjCduqwDUs/_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/kuru/YfLGlVkjCduqwDUs/_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/kuru/YfLGlVkjCduqwDUs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Execute order batch - Kuru\">\u003cmeta data-mint-head property=\"og:description\" content=\"Place readable native orders, cancel maker slots, or perform both atomically.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kuru\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.kuru.io/api/relay/reference/execute-batch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kuru.mintlify.site/_mintlify/api/og/v2?division=REST+methods\u0026amp;title=Execute+order+batch\u0026amp;description=Place+readable+native+orders%2C+cancel+maker+slots%2C+or+perform+both+atomically.\u0026amp;theme=98d6e336a25624b2bc2a9024\u0026amp;signature=fefb36c25d7b89b60f1ab96a63ce7fdb8ddac632bcd849cc53262206a2a55879\">\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=\"Execute order batch - Kuru\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Place readable native orders, cancel maker slots, or perform both atomically.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kuru.mintlify.site/_mintlify/api/og/v2?division=REST+methods\u0026amp;title=Execute+order+batch\u0026amp;description=Place+readable+native+orders%2C+cancel+maker+slots%2C+or+perform+both+atomically.\u0026amp;theme=98d6e336a25624b2bc2a9024\u0026amp;signature=fefb36c25d7b89b60f1ab96a63ce7fdb8ddac632bcd849cc53262206a2a55879\">\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/kuru/YfLGlVkjCduqwDUs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kuru\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#357A1D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.kuru.io/api/relay/reference/execute-batch\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/relay/reference/execute-batch.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.kuru.io/#organization\",\"name\":\"Kuru\",\"url\":\"https://docs.kuru.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kuru/ZJFEKPbRANZFowHn/logo/Kuru_Dark_Full.svg?fit=max\u0026auto=format\u0026n=ZJFEKPbRANZFowHn\u0026q=85\u0026s=d30ea59720742757617f228333d6ce92\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.kuru.io#website\",\"name\":\"Kuru\",\"url\":\"https://docs.kuru.io\",\"publisher\":{\"@id\":\"https://docs.kuru.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.kuru.io/api/relay/reference/execute-batch#webpage\",\"url\":\"https://docs.kuru.io/api/relay/reference/execute-batch\",\"name\":\"Execute order batch\",\"description\":\"Place readable native orders, cancel maker slots, or perform both atomically.\",\"dateModified\":\"2026-10-30T18:54:40.994Z\",\"isPartOf\":{\"@id\":\"https://docs.kuru.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.kuru.io/api/relay/reference/execute-batch#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.kuru.io/api/relay/reference/execute-batch#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Relay APIs\",\"item\":\"https://docs.kuru.io/api/relay/rest\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"REST methods\",\"item\":\"https://docs.kuru.io/api/relay/reference/authorize-account-signer\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Execute order batch\",\"item\":\"https://docs.kuru.io/api/relay/reference/execute-batch\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.kuru.io/api/relay/reference/execute-batch#apireference\",\"headline\":\"Execute order batch\",\"name\":\"Execute order batch\",\"description\":\"Place readable native orders, cancel maker slots, or perform both atomically.\",\"url\":\"https://docs.kuru.io/api/relay/reference/execute-batch\",\"mainEntityOfPage\":{\"@id\":\"https://docs.kuru.io/api/relay/reference/execute-batch#webpage\"},\"dateModified\":\"2026-10-30T18:54:40.994Z\",\"publisher\":{\"@id\":\"https://docs.kuru.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.kuru.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kuru\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Kuru\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/relay/reference/execute-batch.md","siteName":"Kuru","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"API","groups":[{"group":"Integration Guides","pages":[{"title":"API Overview","href":"/api/introduction"},{"title":"Reading Market Data","href":"/api/market-data"},{"title":"Following Account Activity","href":"/api/account-activity"}]},{"group":"Exchange APIs","pages":[{"title":"Exchange Gateway REST API","href":"/api/exchange/rest"},{"group":"Exchange REST methods","pages":[{"title":"Get L2 order book","openapi":"api/exchange/openapi.yaml GET /api/depth","href":"/api/exchange/reference/l2-book"},{"title":"Get best bid and offer","openapi":"api/exchange/openapi.yaml GET /api/bbo","href":"/api/exchange/reference/bbo"},{"title":"Get projected user balances","openapi":"api/exchange/openapi.yaml GET /api/v1/users/{userId}/balances","href":"/api/exchange/reference/user-balances"},{"title":"Get projected user open orders","openapi":"api/exchange/openapi.yaml GET /api/v1/users/{userId}/orders","href":"/api/exchange/reference/user-orders"}]},{"title":"Exchange WebSocket API","href":"/api/exchange/websocket"},{"group":"Protocol changelog","pages":[{"title":"userTrades response changelog","href":"/api/exchange/user-trades-changelog"}]},{"group":"Exchange WebSocket methods","pages":[{"title":"L2 delta stream","asyncapi":"api/exchange/asyncapi.yaml l2Delta","href":"/api/exchange/websocket-reference/l2-delta"},{"title":"Market trades stream","asyncapi":"api/exchange/asyncapi.yaml trades","href":"/api/exchange/websocket-reference/trades"},{"title":"L2 book stream","asyncapi":"api/exchange/asyncapi.yaml l2Book","href":"/api/exchange/websocket-reference/l2-book"},{"title":"BBO stream","asyncapi":"api/exchange/asyncapi.yaml bbo","href":"/api/exchange/websocket-reference/bbo"},{"title":"All mids stream","asyncapi":"api/exchange/asyncapi.yaml allMids","href":"/api/exchange/websocket-reference/all-mids"},{"title":"User orders stream","asyncapi":"api/exchange/asyncapi.yaml userOrders","href":"/api/exchange/websocket-reference/user-orders"},{"title":"User balances stream","asyncapi":"api/exchange/asyncapi.yaml userBalances","href":"/api/exchange/websocket-reference/user-balances"},{"title":"User trades stream","asyncapi":"api/exchange/asyncapi.yaml userTrades","href":"/api/exchange/websocket-reference/user-trades"}]}]},{"group":"Data Source APIs","pages":[{"title":"Data Source REST API","href":"/api/data-source"},{"group":"Data Source REST methods","pages":[{"title":"List markets","openapi":"api/data-source/openapi.yaml GET /api/v1/markets","href":"/api/data-source/reference/markets"},{"title":"Get market details","openapi":"api/data-source/openapi.yaml GET /api/v1/markets/{marketAddress}","href":"/api/data-source/reference/market"},{"title":"List market trades","openapi":"api/data-source/openapi.yaml GET /api/v1/markets/{marketAddress}/trades","href":"/api/data-source/reference/market-trades"},{"title":"Get finalized market order","openapi":"api/data-source/openapi.yaml GET /api/v1/markets/{marketAddress}/orders","href":"/api/data-source/reference/market-orders"},{"title":"List tokens","openapi":"api/data-source/openapi.yaml GET /api/v1/tokens","href":"/api/data-source/reference/tokens"},{"title":"Get token details","openapi":"api/data-source/openapi.yaml GET /api/v1/tokens/{tokenAddress}","href":"/api/data-source/reference/token"},{"title":"Get candles","openapi":"api/data-source/openapi.yaml GET /api/v1/markets/{marketAddress}/candles","href":"/api/data-source/reference/candles"},{"title":"Resolve user address","openapi":"api/data-source/openapi.yaml GET /api/v1/users/by-address/{userAddress}","href":"/api/data-source/reference/resolve-user"},{"title":"Get finalized user open orders","openapi":"api/data-source/openapi.yaml GET /api/v1/users/{userId}/orders","href":"/api/data-source/reference/user-orders"},{"title":"Get finalized user balances","openapi":"api/data-source/openapi.yaml GET /api/v1/users/{userId}/balances","href":"/api/data-source/reference/user-balances"},{"title":"List user trades","openapi":"api/data-source/openapi.yaml GET /api/v1/users/{userId}/trades","href":"/api/data-source/reference/user-trades"},{"title":"List user order events","openapi":"api/data-source/openapi.yaml GET /api/v1/users/{userId}/order-events","href":"/api/data-source/reference/order-events"},{"title":"Get user fee tier","openapi":"api/data-source/openapi.yaml GET /api/v1/users/{userId}/fee-tier","href":"/api/data-source/reference/user-fee-tier"},{"title":"Get user account transfers","api":"GET https://api.testnet.kuru.io/api/v1/users/{userId}/account-transfers","href":"/api/data-source/reference/user-account-transfers"},{"title":"Get account value and PnL snapshots","openapi":"api/data-source/openapi.yaml GET /api/v1/users/{userId}/account-value-snapshots","href":"/api/data-source/reference/account-value-snapshots"},{"title":"Exchange Stats","href":"/api/data-source/reference/stats"}]}]},{"group":"Relay APIs","pages":[{"title":"Relay","href":"/api/relay/rest"},{"title":"Using Hosted Relay","href":"/api/relay/security"},{"title":"Relay Rate Limits and Migration","href":"/api/relay/rate-limits"},{"title":"Relay errors and outcomes","href":"/api/relay/errors"},{"title":"Operational methods","href":"/api/relay/operational"},{"group":"Public authentication","pages":[{"title":"Create authentication challenge","openapi":"api/relay/openapi.yaml POST /auth/challenge","href":"/api/relay/reference/create-challenge"},{"title":"Exchange challenge for token","openapi":"api/relay/openapi.yaml POST /auth/token","href":"/api/relay/reference/exchange-token"}]},{"group":"REST methods","pages":[{"title":"Authorize account signer","description":"Grant a secondary EOA AccountCore permission and optionally install its EIP-7702 delegation.","api":"POST /relay","href":"/api/relay/reference/authorize-account-signer"},{"title":"Execute order batch","api":"POST /relay","href":"/api/relay/reference/execute-batch"},{"title":"Execute packed slot replacement","description":"Execute compact 32-byte maker-slot operations.","api":"POST /relay","href":"/api/relay/reference/execute-replace-by-slot"},{"title":"Cancel conditional order","api":"POST /relay","href":"/api/relay/reference/cancel-trigger"}]},{"group":"Coming soon: conditional orders","pages":[{"title":"Create batch trigger","api":"POST /relay","playground":"none","href":"/api/relay/reference/create-batch-trigger"},{"title":"Create packed replacement trigger","api":"POST /relay","playground":"none","href":"/api/relay/reference/create-replace-trigger"}]},{"group":"Opt-in operational REST methods","pages":[{"title":"Cancel orders by ID","api":"POST /relay","href":"/api/relay/reference/execute-cancel-orders-by-id"},{"title":"Cancel all orders in a market","api":"POST /relay","href":"/api/relay/reference/execute-cancel-all"},{"title":"Execute FOK swap","api":"POST /relay","href":"/api/relay/reference/execute-fok-swap"},{"title":"Store FOK swap trigger","api":"POST /relay","href":"/api/relay/reference/create-fok-swap-trigger"},{"title":"Store TWAP instruction","api":"POST /relay","href":"/api/relay/reference/create-twap"},{"title":"Cancel TWAP instruction","api":"POST /relay","href":"/api/relay/reference/cancel-twap"},{"title":"Finalize expired TWAP","api":"POST /relay","href":"/api/relay/reference/finalize-twap"},{"title":"Revoke account signer","api":"POST /relay","href":"/api/relay/reference/revoke-account-signer"},{"title":"Create subaccount","api":"POST /relay","href":"/api/relay/reference/create-subaccount"}]},{"group":"WebSocket methods","pages":[{"title":"Authorize account signer","asyncapi":"api/relay/asyncapi.yaml authorizeAccountSigner","href":"/api/relay/websocket-reference/authorize-account-signer"},{"title":"Execute order batch","asyncapi":"api/relay/asyncapi.yaml executeBatch","href":"/api/relay/websocket-reference/execute-batch"},{"title":"Execute packed slot replacement","asyncapi":"api/relay/asyncapi.yaml executeReplaceBySlot","href":"/api/relay/websocket-reference/execute-replace-by-slot"},{"title":"Cancel conditional order","asyncapi":"api/relay/asyncapi.yaml cancelTrigger","href":"/api/relay/websocket-reference/cancel-trigger"},{"title":"Subscribe to transaction","asyncapi":"api/relay/asyncapi.yaml transactionSubscribe","href":"/api/relay/websocket-reference/transaction-subscribe"},{"title":"Transaction outcome","asyncapi":"api/relay/asyncapi.yaml transactionOutcome","href":"/api/relay/websocket-reference/transaction-outcome"}]},{"group":"Opt-in operational WebSocket methods","pages":[{"title":"Cancel orders by ID","asyncapi":"api/relay/asyncapi.yaml executeCancelOrdersById","href":"/api/relay/websocket-reference/execute-cancel-orders-by-id"},{"title":"Cancel all orders in a market","asyncapi":"api/relay/asyncapi.yaml executeCancelAll","href":"/api/relay/websocket-reference/execute-cancel-all"},{"title":"Execute FOK swap","asyncapi":"api/relay/asyncapi.yaml executeFokSwap","href":"/api/relay/websocket-reference/execute-fok-swap"},{"title":"Store FOK swap trigger","asyncapi":"api/relay/asyncapi.yaml createFokSwapTrigger","href":"/api/relay/websocket-reference/create-fok-swap-trigger"},{"title":"Store TWAP instruction","asyncapi":"api/relay/asyncapi.yaml createTwap","href":"/api/relay/websocket-reference/create-twap"},{"title":"Cancel TWAP instruction","asyncapi":"api/relay/asyncapi.yaml cancelTwap","href":"/api/relay/websocket-reference/cancel-twap"},{"title":"Finalize expired TWAP","asyncapi":"api/relay/asyncapi.yaml finalizeTwap","href":"/api/relay/websocket-reference/finalize-twap"},{"title":"Revoke account signer","asyncapi":"api/relay/asyncapi.yaml revokeAccountSigner","href":"/api/relay/websocket-reference/revoke-account-signer"},{"title":"Create subaccount","asyncapi":"api/relay/asyncapi.yaml createSubaccount","href":"/api/relay/websocket-reference/create-subaccount"}]},{"group":"Coming soon: WebSocket methods","pages":[{"title":"Create batch trigger","asyncapi":"api/relay/asyncapi.yaml createBatchTrigger","href":"/api/relay/websocket-reference/create-batch-trigger"},{"title":"Create packed replacement trigger","asyncapi":"api/relay/asyncapi.yaml createReplaceTrigger","href":"/api/relay/websocket-reference/create-replace-trigger"}]}]}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/overview"}]}]},"basePath":"","title":"Execute order batch - Kuru","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js"]}