Submits signed executions obtained from a gasless GET /getAction response for relay broadcast. The backend validates each signature, simulates the transactions, then broadcasts them via the configured relay provider.
Call this endpoint only when executionsType is GASLESS in the getAction response. Sign all items in the executions array in order before submitting.
Limited demo key for API Reference: 5c951bc81da566bbd030ba8e20724063.
Body
application/json
txId
string
required
The txId from the GET /getAction quote response. Used to correlate the signed executions with the original action on the relay.
chainId
integer
required
Source chain ID of the swap.
executions
object[]
required
All execution steps from the getAction response, each with a signature field populated by the user's wallet. Must be in the same order as returned by getAction.
A single signing step returned in the executions array of a gasless getAction response. Only available for Tron same-chain swaps. The client must sign each item in order and include the signatures when calling POST /submitTx.
Option 1
Option 2
Show child attributes
Response
Transaction accepted for relay broadcast
success
boolean
required
Whether the relay broadcast was accepted.
txId
string
Internal transaction ID. Pass this to GET /getStatus to poll for completion — the status endpoint will return the on-chain transaction hash once the relay broadcast confirms.
error
string
Error message when success is false.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Swaps API Documentation","description":"Swaps is the execution layer for moving value across chains: swaps, bridges, cross-chain contract calls, prediction market trading, and dedicated stableswap liquidity — behind one API. Users transact with any token on any chain; Swaps handles routing, transaction construction, and end-to-end tracking.","colors":{"primary":"#6366F1","light":"#8B5CF6","dark":"#4F46E5"},"logo":{"light":"https://mintcdn.com/swaps/0Y1Q5nsbTP7RcDGa/logo/light.svg?fit=max\u0026auto=format\u0026n=0Y1Q5nsbTP7RcDGa\u0026q=85\u0026s=b4ef18d882340b146df26c61511553d2","dark":"https://mintcdn.com/swaps/0Y1Q5nsbTP7RcDGa/logo/dark.svg?fit=max\u0026auto=format\u0026n=0Y1Q5nsbTP7RcDGa\u0026q=85\u0026s=59d4110408236ccb8bf596629a4999a0"},"favicon":"https://mintcdn.com/swaps/0Y1Q5nsbTP7RcDGa/favicon.svg?fit=max\u0026auto=format\u0026n=0Y1Q5nsbTP7RcDGa\u0026q=85\u0026s=0cd613f8ed2a18d7e151a1c01caa9db5","navbar":{"primary":{"type":"button","label":"Get Started","href":"https://dashboard.moonpay.com/signup"}},"footer":{"socials":{"x":"https://x.com/moonpay","linkedin":"https://www.linkedin.com/company/moonpay"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"swaps","hasAudioNarration":false,"actualSubdomain":"swaps","customDomains":["docs.swaps.xyz"],"gitSource":{"type":"github","owner":"swaps-xyz","repo":"box-monorepo","deployBranch":"main","contentDirectory":"apps/box-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b09bf0e512bc5909b34e4d0","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Prediction Market Reference","count":24},{"language":"default","tag":"Documentation","count":10},{"language":"default","tag":"Swap API Reference","count":10},{"language":"default","tag":"Trading","count":8},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Getting Started","count":6},{"language":"default","tag":"User Positions \u0026 Activity","count":5},{"language":"default","tag":"Market Information","count":4},{"language":"default","tag":"Core","count":4},{"language":"default","tag":"Protocol Reference","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"swap-api-reference/submit-gasless-transaction","slug":"/swap-api-reference/submit-gasless-transaction","pageMetadata":{"title":"Submit Gasless Transaction","description":"Submits signed executions obtained from a gasless `GET /getAction` response for relay broadcast. The backend validates each signature, simulates the transactions, then broadcasts them via the configured relay provider.\n\nCall this endpoint only when `executionsType` is `GASLESS` in the `getAction` response. Sign all items in the `executions` array in order before submitting.","deprecated":null,"version":null,"openapi":"/swap-api-reference/openapi.json post /submitTx","href":"/swap-api-reference/submit-gasless-transaction","autogeneratedByOpenApi":true},"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 code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Submits signed executions obtained from a gasless \", _jsx(_components.code, {\n children: \"GET /getAction\"\n }), \" response for relay broadcast. The backend validates each signature, simulates the transactions, then broadcasts them via the configured relay provider.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Call this endpoint only when \", _jsx(_components.code, {\n children: \"executionsType\"\n }), \" is \", _jsx(_components.code, {\n children: \"GASLESS\"\n }), \" in the \", _jsx(_components.code, {\n children: \"getAction\"\n }), \" response. Sign all items in the \", _jsx(_components.code, {\n children: \"executions\"\n }), \" array in order before submitting.\"]\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":"Submit Gasless Transaction","description":"Submits signed executions obtained from a gasless `GET /getAction` response for relay broadcast. The backend validates each signature, simulates the transactions, then broadcasts them via the configured relay provider.\n\nCall this endpoint only when `executionsType` is `GASLESS` in the `getAction` response. Sign all items in the `executions` array in order before submitting.","deprecated":null,"version":null,"openapi":"/swap-api-reference/openapi.json post /submitTx","href":"/swap-api-reference/submit-gasless-transaction","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Submit Gasless Transaction","servers":["618269d3-58a9-40dc-afb1-686e9e8c2125"],"description":"Submits signed executions obtained from a gasless `GET /getAction` response for relay broadcast. The backend validates each signature, simulates the transactions, then broadcasts them via the configured relay provider.\n\nCall this endpoint only when `executionsType` is `GASLESS` in the `getAction` response. Sign all items in the `executions` array in order before submitting.","operationId":"submitTx","security":["2c3a6781-2bc9-49df-83bc-97b5cab82c03"],"requestBody":"b8a1cbbb-748e-45e0-961b-2ba83ae0821e","responses":{"200":"991f588f-1f0c-4c76-8bac-cfd29f5029c5","400":"acacee66-bc6c-43ab-88a4-88ac18b443b7","401":"e23f69fd-dd34-4c94-92b1-0f0f529c82d8"},"method":"post","type":"path","path":"/submitTx","baseUrlOptions":["https://api-v2.swaps.xyz/api"],"title":"Submit Gasless Transaction","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["txId","chainId","executions"],"properties":{"txId":{"type":"string","description":"The `txId` from the `GET /getAction` quote response. Used to correlate the signed executions with the original action on the relay.","isRequired":true,"uniqueKey":"txId","typeLabel":"string"},"chainId":{"type":"integer","description":"Source chain ID of the swap.","isRequired":true,"uniqueKey":"chainId","typeLabel":"integer"},"executions":{"type":"array","description":"All execution steps from the `getAction` response, each with a `signature` field populated by the user's wallet. Must be in the same order as returned by `getAction`.","items":{"oneOf":[{"type":"object","description":"A single signing step returned in the `executions` array of a gasless `getAction` response. Only available for Tron same-chain swaps. The client must sign each item in order and include the signatures when calling `POST /submitTx`.","required":["txType","data"],"properties":{"txType":{"type":"string","enum":["evmTransactionSign"],"isRequired":true,"uniqueKey":"executions.items.[INDEX].oneOf.0.txType","typeLabel":"enum\u003cstring>"},"data":{"type":"string","description":"JSON string of an unsigned Tron transaction (TronWeb `raw_data` shape)","isRequired":true,"uniqueKey":"executions.items.[INDEX].oneOf.0.data","typeLabel":"string"},"signature":{"type":"string","description":"Hex-encoded signature from TronLink or compatible Tron wallet","uniqueKey":"executions.items.[INDEX].oneOf.0.signature","typeLabel":"string"}},"uniqueKey":"executions.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A single signing step returned in the `executions` array of a gasless `getAction` response. Only available for Tron same-chain swaps. The client must sign each item in order and include the signatures when calling `POST /submitTx`.","required":["txType","data"],"properties":{"txType":{"type":"string","enum":["evmSignTypedData"],"isRequired":true,"uniqueKey":"executions.items.[INDEX].oneOf.1.txType","typeLabel":"enum\u003cstring>"},"data":{"oneOf":[{"type":"string","description":"EIP-712 typed data to sign. Accepted as either a JSON string (same format returned by `GET /getAction`) or a parsed object — both are equivalent.","isRequired":true,"uniqueKey":"executions.items.[INDEX].oneOf.1.data.oneOf.0","typeLabel":"string"},{"type":"object","description":"EIP-712 typed data to sign. Accepted as either a JSON string (same format returned by `GET /getAction`) or a parsed object — both are equivalent.","required":["domain","types","message"],"properties":{"domain":{"type":"object","required":["name","version","chainId","verifyingContract"],"properties":{"name":{"type":"string","description":"EIP-712 domain name","isRequired":true,"uniqueKey":"executions.items.[INDEX].oneOf.1.data.oneOf.1.domain.name","typeLabel":"string"},"version":{"type":"string","description":"EIP-712 domain version","isRequired":true,"uniqueKey":"executions.items.[INDEX].oneOf.1.data.oneOf.1.domain.version","typeLabel":"string"},"chainId":{"type":"integer","description":"Chain ID the typed data is bound to","isRequired":true,"uniqueKey":"executions.items.[INDEX].oneOf.1.data.oneOf.1.domain.chainId","typeLabel":"integer"},"verifyingContract":{"type":"string","description":"Address of the contract verifying the signature","isRequired":true,"uniqueKey":"executions.items.[INDEX].oneOf.1.data.oneOf.1.domain.verifyingContract","typeLabel":"string"}},"isRequired":true,"uniqueKey":"executions.items.[INDEX].oneOf.1.data.oneOf.1.domain","typeLabel":"object"},"types":{"type":"object","description":"EIP-712 type definitions (field name → array of {name, type} pairs)","additionalProperties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"executions.items.[INDEX].oneOf.1.data.oneOf.1.types.additionalProperties.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","uniqueKey":"executions.items.[INDEX].oneOf.1.data.oneOf.1.types.additionalProperties.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"executions.items.[INDEX].oneOf.1.data.oneOf.1.types.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"executions.items.[INDEX].oneOf.1.data.oneOf.1.types.additionalProperties","typeLabel":"object[]"},"isRequired":true,"uniqueKey":"executions.items.[INDEX].oneOf.1.data.oneOf.1.types","typeLabel":"object"},"message":{"type":"object","description":"The typed data message payload","additionalProperties":true,"isRequired":true,"uniqueKey":"executions.items.[INDEX].oneOf.1.data.oneOf.1.message","typeLabel":"object"}},"isRequired":true,"uniqueKey":"executions.items.[INDEX].oneOf.1.data.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"executions.items.[INDEX].oneOf.1.data","typeLabel":"string | object"},"signature":{"type":"string","description":"Hex-encoded EIP-712 signature","uniqueKey":"executions.items.[INDEX].oneOf.1.signature","typeLabel":"string"}},"uniqueKey":"executions.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"executions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"executions","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"txId":"\u003cstring>","chainId":123,"executions":[{"txType":"evmTransactionSign","data":"\u003cstring>","signature":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"991f588f-1f0c-4c76-8bac-cfd29f5029c5":{"description":"Transaction accepted for relay broadcast","content":{"application/json":{"schema":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"Whether the relay broadcast was accepted.","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"txId":{"type":"string","description":"Internal transaction ID. Pass this to `GET /getStatus` to poll for completion — the status endpoint will return the on-chain transaction hash once the relay broadcast confirms.","uniqueKey":"txId","typeLabel":"string"},"error":{"type":"string","description":"Error message when `success` is `false`.","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"txId":"\u003cstring>","error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"acacee66-bc6c-43ab-88a4-88ac18b443b7":{"description":"Bad request — invalid signature, unknown txId, or malformed executions","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","description":"Always false for error responses","enum":[false],"example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","required":["code","name","message","title","statusCode","timestamp"],"properties":{"code":{"type":"string","description":"Error type code for programmatic handling","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"name":{"type":"string","description":"Error class name","isRequired":true,"uniqueKey":"error.name","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"title":{"type":"string","description":"Short, user-friendly error title","isRequired":true,"uniqueKey":"error.title","typeLabel":"string"},"statusCode":{"type":"integer","description":"HTTP status code","isRequired":true,"uniqueKey":"error.statusCode","typeLabel":"integer"},"timestamp":{"type":"string","description":"ISO 8601 timestamp when the error occurred","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string"},"details":{"type":"object","description":"Additional error details","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"\u003cstring>","name":"\u003cstring>","message":"\u003cstring>","title":"\u003cstring>","statusCode":123,"timestamp":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"e23f69fd-dd34-4c94-92b1-0f0f529c82d8":{"description":"Unauthorized — missing or invalid API key","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","description":"Always false for error responses","enum":[false],"example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","required":["code","name","message","title","statusCode","timestamp"],"properties":{"code":{"type":"string","description":"Error type code for programmatic handling","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"name":{"type":"string","description":"Error class name","isRequired":true,"uniqueKey":"error.name","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"title":{"type":"string","description":"Short, user-friendly error title","isRequired":true,"uniqueKey":"error.title","typeLabel":"string"},"statusCode":{"type":"integer","description":"HTTP status code","isRequired":true,"uniqueKey":"error.statusCode","typeLabel":"integer"},"timestamp":{"type":"string","description":"ISO 8601 timestamp when the error occurred","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string"},"details":{"type":"object","description":"Additional error details","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"\u003cstring>","name":"\u003cstring>","message":"\u003cstring>","title":"\u003cstring>","statusCode":123,"timestamp":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2c3a6781-2bc9-49df-83bc-97b5cab82c03":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Limited demo key for API Reference: `5c951bc81da566bbd030ba8e20724063`.","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"618269d3-58a9-40dc-afb1-686e9e8c2125":{"url":"https://api-v2.swaps.xyz/api","description":"Core Swap API server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Limited demo key for API Reference: `5c951bc81da566bbd030ba8e20724063`.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"Limited demo key for API Reference: `5c951bc81da566bbd030ba8e20724063`.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"swap-api-reference/openapi.json"},"subdomain":"swaps","siteName":"Swaps API Documentation","title":"Submit Gasless Transaction - Swaps API Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-27T17:34:11.879Z","originalFileLocation":"swap-api-reference/submit-gasless-transaction.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=\"Submits signed executions obtained from a gasless GET /getAction response for relay broadcast. The backend validates each signature, simulates the transactions, then broadcasts them via the configured relay provider. Call this endpoint only when executionsType is GASLESS in the getAction response. Sign all items in the executions array in order before submitting.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Swaps API 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/swaps/GMGSy86BYr2YqEGa/_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/swaps/GMGSy86BYr2YqEGa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/swaps/GMGSy86BYr2YqEGa/_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/swaps/GMGSy86BYr2YqEGa/_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/swaps/GMGSy86BYr2YqEGa/_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/swaps/GMGSy86BYr2YqEGa/_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/swaps/GMGSy86BYr2YqEGa/_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/swaps/GMGSy86BYr2YqEGa/_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/swaps/GMGSy86BYr2YqEGa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Submit Gasless Transaction - Swaps API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Submits signed executions obtained from a gasless GET /getAction response for relay broadcast. The backend validates each signature, simulates the transactions, then broadcasts them via the configured relay provider. Call this endpoint only when executionsType is GASLESS in the getAction response. Sign all items in the executions array in order before submitting.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Swaps API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.swaps.xyz/swap-api-reference/submit-gasless-transaction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://swaps.mintlify.site/_mintlify/api/og/v2?division=Gasless\u0026amp;title=Submit+Gasless+Transaction\u0026amp;description=Submits+signed+executions+obtained+from+a+gasless+%60GET+%2FgetAction%60+response+for+relay+broadcast.+The+backend+validates+each+signature%2C+simulates+the+transaction\u0026amp;theme=fc8d807329a31d9bcd1aecb1\u0026amp;signature=8b142a546284150a01d19c342a5987f87e02628661736186b9d22d0c7cb7ff7b\">\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=\"Submit Gasless Transaction - Swaps API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Submits signed executions obtained from a gasless GET /getAction response for relay broadcast. The backend validates each signature, simulates the transactions, then broadcasts them via the configured relay provider. Call this endpoint only when executionsType is GASLESS in the getAction response. Sign all items in the executions array in order before submitting.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://swaps.mintlify.site/_mintlify/api/og/v2?division=Gasless\u0026amp;title=Submit+Gasless+Transaction\u0026amp;description=Submits+signed+executions+obtained+from+a+gasless+%60GET+%2FgetAction%60+response+for+relay+broadcast.+The+backend+validates+each+signature%2C+simulates+the+transaction\u0026amp;theme=fc8d807329a31d9bcd1aecb1\u0026amp;signature=8b142a546284150a01d19c342a5987f87e02628661736186b9d22d0c7cb7ff7b\">\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/swaps/GMGSy86BYr2YqEGa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Swaps API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366F1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.swaps.xyz/swap-api-reference/submit-gasless-transaction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/swap-api-reference/submit-gasless-transaction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.swaps.xyz/#organization\",\"name\":\"Swaps API Documentation\",\"url\":\"https://docs.swaps.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/swaps/0Y1Q5nsbTP7RcDGa/logo/light.svg?fit=max\u0026auto=format\u0026n=0Y1Q5nsbTP7RcDGa\u0026q=85\u0026s=b4ef18d882340b146df26c61511553d2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.swaps.xyz#website\",\"name\":\"Swaps API Documentation\",\"url\":\"https://docs.swaps.xyz\",\"publisher\":{\"@id\":\"https://docs.swaps.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.swaps.xyz/swap-api-reference/submit-gasless-transaction#webpage\",\"url\":\"https://docs.swaps.xyz/swap-api-reference/submit-gasless-transaction\",\"name\":\"Submit Gasless Transaction\",\"description\":\"Submits signed executions obtained from a gasless GET /getAction response for relay broadcast. The backend validates each signature, simulates the transactions, then broadcasts them via the configured relay provider. Call this endpoint only when executionsType is GASLESS in the getAction response. Sign all items in the executions array in order before submitting.\",\"dateModified\":\"2026-11-27T17:34:11.879Z\",\"isPartOf\":{\"@id\":\"https://docs.swaps.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.swaps.xyz/swap-api-reference/submit-gasless-transaction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.swaps.xyz/swap-api-reference/submit-gasless-transaction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Swaps API Documentation\",\"item\":\"https://docs.swaps.xyz\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Submit Gasless Transaction\",\"item\":\"https://docs.swaps.xyz/swap-api-reference/submit-gasless-transaction\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.swaps.xyz/swap-api-reference/submit-gasless-transaction#apireference\",\"headline\":\"Submit Gasless Transaction\",\"name\":\"Submit Gasless Transaction\",\"description\":\"Submits signed executions obtained from a gasless GET /getAction response for relay broadcast. The backend validates each signature, simulates the transactions, then broadcasts them via the configured relay provider. Call this endpoint only when executionsType is GASLESS in the getAction response. Sign all items in the executions array in order before submitting.\",\"url\":\"https://docs.swaps.xyz/swap-api-reference/submit-gasless-transaction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.swaps.xyz/swap-api-reference/submit-gasless-transaction#webpage\"},\"dateModified\":\"2026-11-27T17:34:11.879Z\",\"publisher\":{\"@id\":\"https://docs.swaps.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.swaps.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Swaps API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Swaps API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/swap-api-reference/submit-gasless-transaction.md","siteName":"Swaps API Documentation","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Swap API Reference","groups":[{"group":"Getting Started","pages":[{"title":"Overview","href":"/swap-api-reference/overview"}]},{"group":"Core","pages":[{"title":"Get Quote","deprecated":null,"version":null,"openapi":"/swap-api-reference/openapi.json get /getQuote","href":"/swap-api-reference/get-quote"},{"title":"Get Action","deprecated":null,"version":null,"openapi":"/swap-api-reference/openapi.json get /getAction","href":"/swap-api-reference/get-action"},{"title":"Get Status","deprecated":null,"version":null,"openapi":"/swap-api-reference/openapi.json get /getStatus","href":"/swap-api-reference/get-status"},{"title":"Register Transaction","description":"Register transactions for indexing. Mandatory for non EVM transactions.","deprecated":null,"version":null,"openapi":"/swap-api-reference/openapi.json post /registerTxs","href":"/swap-api-reference/register-transaction"}]},{"group":"Gasless","pages":[{"title":"Submit Gasless Transaction","deprecated":null,"version":null,"openapi":"/swap-api-reference/openapi.json post /submitTx","href":"/swap-api-reference/submit-gasless-transaction"}]},{"group":"Data","pages":[{"title":"Get Transactions","description":"Retrieve paginated transaction history with optional filtering.","deprecated":null,"version":null,"openapi":"/swap-api-reference/openapi.json get /getTransactions","href":"/swap-api-reference/get-transactions"}]},{"group":"Utilities","pages":[{"title":"Get Paths","deprecated":null,"version":null,"openapi":"/swap-api-reference/openapi.json get /getPaths","href":"/swap-api-reference/get-paths"},{"title":"Get Chain List","deprecated":null,"version":null,"openapi":"/swap-api-reference/openapi.json get /getChainList","href":"/swap-api-reference/get-chain-list"},{"title":"Get Token List","deprecated":null,"version":null,"openapi":"/swap-api-reference/openapi.json get /getTokenList","href":"/swap-api-reference/get-token-list"}]}]},{"tab":"Prediction Market Reference","pages":[{"title":"Prediction Market Reference","href":"/prediction-market-reference/overview"}]},{"tab":"Protocol Reference","pages":[{"title":"Protocol Reference","href":"/protocol-reference/overview"}]}]},"basePath":"","title":"Submit Gasless Transaction - Swaps API Documentation","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B8kPdtB2.js","snippetPresets-C-p1aFQ1.js","utils-B9NnUZSZ.js","style-to-object-BY3JEAdk.js","utils-DFxl7cW2.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-bSr9h7OB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bw4Gcy_r.js","_Uint8Array-C68x8Gny.js","isObject-FP1Yky1u.js","ApiExamples-BXsp8PHs.js","usePlaygroundInputsStore-BlAOLmIF.js","shallow-C2F02mqa.js","isEqual-C8iG4q2G.js","CodeSnippets-45lHR04X.js","CodeSnippet-6Cemznl-.js","use-playground-group-access-Cyy8SXp5.js","Page-CeZ_ZB5X.js","api-description-markdown-DiOdv5rp.js","DynamicMarkdown-B_9ywLDq.js","SectionHeading-Cc2r-uqU.js","MethodPill-Df3Tcu4c.js","getPastedJson-B3vrV0wE.js","Check2Icon-YQhSFafd.js","axios-CsQoIw0U.js","Markdown-0RkHcMOI.js","AssistantPageLink-DeJZCj9t.js","dist-DVqS175j.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}