State of the transaction and balance after the commit. rejected means a deposit failed compliance or risk screening; funds are refunded to the user's wallet after extended screening.
Optional. If provided, the estimated time, in seconds, required to screen the commit.
⌘I
{"docsConfig":{"theme":"linden","$schema":"https://mintlify.com/docs.json","name":"Vanish Core Documentation","colors":{"primary":"#038d96","light":"#00dae9","dark":"#00dae9"},"logo":{"light":"https://mintcdn.com/vanish/3FR7Q4Es6PxIO6RY/logo/black.png?fit=max\u0026auto=format\u0026n=3FR7Q4Es6PxIO6RY\u0026q=85\u0026s=837483a250a04b6814c81102da6f19e1","dark":"https://mintcdn.com/vanish/_Xn3Lkosod_bqrcT/logo/dark.svg?fit=max\u0026auto=format\u0026n=_Xn3Lkosod_bqrcT\u0026q=85\u0026s=dd4b13b6bf38b859142c0acd7fb6f8b6"},"favicon":"https://mintcdn.com/vanish/_Xn3Lkosod_bqrcT/favicon.svg?fit=max\u0026auto=format\u0026n=_Xn3Lkosod_bqrcT\u0026q=85\u0026s=42e5419e46d9b21a0334afdd3df5e233","api":{"playground":{"proxy":false}},"navbar":{"links":[{"href":"https://discord.gg/vanishtrade","label":"Discord"}],"primary":{"type":"button","label":"Start Trading","href":"https://vanish.trade"}},"footer":{"socials":{"x":"https://x.com/vanishTrade","discord":"https://discord.gg/vanishtrade","website":"https://vanish.trade"}},"interaction":{"drilldown":false},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vanish","hasAudioNarration":false,"actualSubdomain":"vanish","customDomains":["core.vanish.trade"],"gitSource":{"type":"github","owner":"gekovn","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aaf56870a5e154bbd51d3ec","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Documentation","count":27},{"language":"default","tag":"Guides","count":9},{"language":"default","tag":"Lending","count":6},{"language":"default","tag":"Integration","count":4},{"language":"default","tag":"Account","count":3},{"language":"default","tag":"Quickstart","count":3},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"Fund Management","count":2},{"language":"default","tag":"Trade","count":2},{"language":"default","tag":"Commit Action","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--vanish-content-width: 72rem}@media (min-width: 1024px){#content-area,#content{max-width:var(--vanish-content-width)}}"}],"page":{"pagePath":"api-reference/commit","slug":"/api-reference/commit","pageMetadata":{"title":"Commit Action","openapi":"POST /commit","og:image":"/banner2.jpg","description":"Commits a transaction id of user's any action (deposit/trade/withdraw) to verify and processes balance change.","href":"/api-reference/commit"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Commits a transaction id of user’s any action (deposit/trade/withdraw) to verify and processes balance change.\"\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":"Commit Action","openapi":"POST /commit","og:image":"/banner2.jpg","description":"Commits a transaction id of user's any action (deposit/trade/withdraw) to verify and processes balance change.","href":"/api-reference/commit"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Commits a transaction id of user's any action (deposit/trade/withdraw) to verify and processes balance change.","requestBody":"55db416d-ed47-4dfb-8973-6cdbd1f7b93f","responses":{"200":"40caeda4-2f11-4749-8d60-bd577011f7b2","401":"5941aaf6-fdea-4998-9f0d-19aa92f6c2f5","500":"b2bcc696-817b-4750-96f3-7d6bfb844369"},"method":"post","type":"path","servers":["ed61ba1a-f710-46be-b897-f4f7ef220c6b"],"security":["6a461bbb-50c1-462f-900f-35213a27c463"],"path":"/commit","baseUrlOptions":["https://core-api-dev.vanish.trade"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"description":"Details of the commit request.","content":{"application/json":{"schema":{"required":["tx_id"],"type":"object","properties":{"tx_id":{"description":"The transaction id of any action (trade/deposit/withdraw)","type":"string","isRequired":true,"uniqueKey":"tx_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"tx_id":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"40caeda4-2f11-4749-8d60-bd577011f7b2":{"description":"Successful commit response.","content":{"application/json":{"schema":{"required":["status","action_type","already_processed","vanish_fee","tx_fee"],"type":"object","properties":{"status":{"description":"State of the transaction and balance after the commit. rejected means a deposit failed compliance or risk screening; funds are refunded to the user's wallet after extended screening.","enum":["pending","completed","failed","expired","rejected"],"type":"string","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"action_type":{"description":"The type of action that was committed. Indicates whether the operation was a deposit, withdrawal, or trade.","enum":["deposit","withdraw","trade"],"type":"string","isRequired":true,"uniqueKey":"action_type","typeLabel":"enum\u003cstring>"},"already_processed":{"description":"Indicates whether the given transaction ID (tx_id) was already processed before this commit attempt.","type":"boolean","isRequired":true,"uniqueKey":"already_processed","typeLabel":"boolean"},"vanish_fee":{"description":"The fee amount charged by Vanish, expressed in lamports.","type":"string","format":"int64","isRequired":true,"uniqueKey":"vanish_fee","typeLabel":"string\u003cint64>"},"tx_fee":{"description":"The transaction fee amount, expressed in lamports.","type":"string","format":"int64","isRequired":true,"uniqueKey":"tx_fee","typeLabel":"string\u003cint64>"},"balance_changes":{"type":"array","items":{"required":["token_address","change"],"type":"object","properties":{"token_address":{"description":"The token address","type":"string","isRequired":true,"uniqueKey":"balance_changes.items.[INDEX].token_address","typeLabel":"string"},"change":{"description":"Amount of balance change in the smallest unit (e.g., lamports for SOL).","type":"string","format":"int64","isRequired":true,"uniqueKey":"balance_changes.items.[INDEX].change","typeLabel":"string\u003cint64>"}},"uniqueKey":"balance_changes.items.[INDEX]","typeLabel":"object"},"description":"A list of token balance changes that resulted from the committed action. Empty if the commit failed or was already processed.","uniqueKey":"balance_changes","typeLabel":"object[]"},"screening_eta_seconds":{"description":"Optional. If provided, the estimated time, in seconds, required to screen the commit.","type":"integer","uniqueKey":"screening_eta_seconds","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"pending","action_type":"deposit","already_processed":true,"vanish_fee":"\u003cstring>","tx_fee":"\u003cstring>","balance_changes":[{"token_address":"\u003cstring>","change":"\u003cstring>"}],"screening_eta_seconds":123}}},"exampleType":"generated"}},"exampleType":"generated"},"5941aaf6-fdea-4998-9f0d-19aa92f6c2f5":{"description":"Unauthorized. The request is missing a valid API key or the signature is invalid.","content":{"application/json":{"schema":{"description":"API key is missing or invalid","uniqueKey":"","typeLabel":"any"},"examples":{"Example":{"title":"Example","value":"\u003cunknown>"}},"exampleType":"generated"}},"exampleType":"generated"},"b2bcc696-817b-4750-96f3-7d6bfb844369":{"description":"Internal server error.","content":{"application/json":{"schema":{"type":"string","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"6a461bbb-50c1-462f-900f-35213a27c463":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[]}}},"servers":{"ed61ba1a-f710-46be-b897-f4f7ef220c6b":{"url":"https://core-api-dev.vanish.trade"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[]},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"vanish","siteName":"Vanish Core Documentation","title":"Commit Action - Vanish Core Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-10-09T19:29:04.642Z","originalFileLocation":"api-reference/commit.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=\"Commits a transaction id of user\u0026#x27;s any action (deposit/trade/withdraw) to verify and processes balance change.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Vanish Core 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/vanish/9s8o44Sm2nyTBjGl/_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/vanish/9s8o44Sm2nyTBjGl/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vanish/9s8o44Sm2nyTBjGl/_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/vanish/9s8o44Sm2nyTBjGl/_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/vanish/9s8o44Sm2nyTBjGl/_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/vanish/9s8o44Sm2nyTBjGl/_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/vanish/9s8o44Sm2nyTBjGl/_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/vanish/9s8o44Sm2nyTBjGl/_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/vanish/9s8o44Sm2nyTBjGl/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Commit Action - Vanish Core Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Commits a transaction id of user\u0026#x27;s any action (deposit/trade/withdraw) to verify and processes balance change.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vanish Core Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://core.vanish.trade/api-reference/commit\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vanish.mintlify.site/banner2.jpg\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Commit Action - Vanish Core Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Commits a transaction id of user\u0026#x27;s any action (deposit/trade/withdraw) to verify and processes balance change.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vanish.mintlify.site/banner2.jpg\">\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/vanish/9s8o44Sm2nyTBjGl/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vanish Core Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#038d96\">\u003clink data-mint-head rel=\"canonical\" href=\"https://core.vanish.trade/api-reference/commit\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/commit.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://core.vanish.trade/#organization\",\"name\":\"Vanish Core Documentation\",\"url\":\"https://core.vanish.trade\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vanish/3FR7Q4Es6PxIO6RY/logo/black.png?fit=max\u0026auto=format\u0026n=3FR7Q4Es6PxIO6RY\u0026q=85\u0026s=837483a250a04b6814c81102da6f19e1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://core.vanish.trade#website\",\"name\":\"Vanish Core Documentation\",\"url\":\"https://core.vanish.trade\",\"publisher\":{\"@id\":\"https://core.vanish.trade/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://core.vanish.trade/api-reference/commit#webpage\",\"url\":\"https://core.vanish.trade/api-reference/commit\",\"name\":\"Commit Action\",\"description\":\"Commits a transaction id of user's any action (deposit/trade/withdraw) to verify and processes balance change.\",\"dateModified\":\"2025-10-09T19:29:04.642Z\",\"isPartOf\":{\"@id\":\"https://core.vanish.trade#website\"},\"breadcrumb\":{\"@id\":\"https://core.vanish.trade/api-reference/commit#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://core.vanish.trade/api-reference/commit#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Vanish Core Documentation\",\"item\":\"https://core.vanish.trade\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Commit Action\",\"item\":\"https://core.vanish.trade/api-reference/commit\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://core.vanish.trade/api-reference/commit#apireference\",\"headline\":\"Commit Action\",\"name\":\"Commit Action\",\"description\":\"Commits a transaction id of user's any action (deposit/trade/withdraw) to verify and processes balance change.\",\"url\":\"https://core.vanish.trade/api-reference/commit\",\"mainEntityOfPage\":{\"@id\":\"https://core.vanish.trade/api-reference/commit#webpage\"},\"image\":\"https://core.vanish.trade/banner2.jpg\",\"dateModified\":\"2025-10-09T19:29:04.642Z\",\"publisher\":{\"@id\":\"https://core.vanish.trade/#organization\"},\"isPartOf\":{\"@id\":\"https://core.vanish.trade#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vanish Core Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Vanish Core Documentation","nav":{"global":null,"tabs":[{"tab":"API Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","icon":"hand","mode":"wide","href":"/start/introduction"},{"title":"Compliance","icon":"file-contract","mode":"wide","href":"/start/compliance"},{"title":"Security","icon":"tower-observation","mode":"wide","href":"/start/security"}]},{"group":"Guides","pages":[{"group":"Quickstart","icon":"bolt","pages":[{"title":"Setup","icon":"wrench","href":"/guide/quickstart/setup"},{"title":"Trade","icon":"arrow-right-arrow-left","href":"/guide/quickstart/trade"},{"title":"Lend","icon":"building-columns","href":"/guide/quickstart/lend"}]},{"group":"Integration","icon":"sitemap","pages":[{"title":"Overview","icon":"sitemap","href":"/guide/integration/overview"},{"title":"Signing","icon":"signature","href":"/guide/integration/signing"},{"title":"Trading","icon":"arrow-right-arrow-left","href":"/guide/integration/trading"},{"title":"Lending","icon":"building-columns","href":"/guide/integration/lending"}]},{"title":"Error Handling","icon":"triangle-exclamation","href":"/guide/handling"},{"title":"FAQ","icon":"circle-question","href":"/guide/faq"}]},{"group":"Health Check","pages":[{"title":"Health Check","openapi":"GET /health","href":"/api-reference/health"}]},{"group":"Account","pages":[{"title":"Get Balances","openapi":"POST /account/balances","href":"/api-reference/account/get_balances"},{"title":"Get Points","openapi":"POST /account/points","href":"/api-reference/account/get_points"},{"title":"Get Pending Actions","openapi":"POST /account/pending","href":"/api-reference/account/get_pending_actions"}]},{"group":"Fund Management","pages":[{"title":"Get Deposit Address","openapi":"GET /deposit_address","href":"/api-reference/funds/deposit_address"},{"title":"Withdraw","openapi":"POST /withdraw/create","href":"/api-reference/funds/withdraw"}]},{"group":"Trade","pages":[{"title":"Get One-Time Wallet","openapi":"GET /trade/one-time-wallet","href":"/api-reference/trade/one-time-wallet"},{"title":"Create Trade","openapi":"POST /trade/create","href":"/api-reference/trade/create"}]},{"group":"Lending","pages":[{"title":"Create One-Time Wallet","sidebarTitle":"Create Wallet","openapi":"POST /borrow/smart-wallet","href":"/api-reference/lending/smart-wallet"},{"title":"Open Position","openapi":"POST /borrow/initiate","href":"/api-reference/lending/initiate"},{"title":"Commit Lending Action","sidebarTitle":"Commit Lending","openapi":"POST /borrow/commit","href":"/api-reference/lending/commit"},{"title":"Settle Position","openapi":"POST /borrow/settle","href":"/api-reference/lending/settle"},{"title":"Get Positions","openapi":"POST /borrow/positions","href":"/api-reference/lending/positions"},{"title":"Get Pending Lending Actions","sidebarTitle":"Get Pending Actions","openapi":"POST /borrow/pending","description":"Fetches the user's pending lending and settle actions - those submitted but never committed.","href":"/api-reference/lending/pending"}]},{"group":"Commit Action","pages":[{"title":"Commit Action","openapi":"POST /commit","href":"/api-reference/commit"}]}]}]},"basePath":"","title":"Commit Action - Vanish Core Documentation","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}