Pick between Simple, Full, and Partial SDK constructors based on bundle size, API shape, and how much wiring you want to do.
The SDK ships three constructors that wrap the same per-method construct* primitives. They differ in how much of the SDK comes pre-wired and what the resulting API surface looks like.
“I just want a quote and a swap.” Use the Simple SDK: one constructor, ready to call.
“I have a Node service that does Delta orders, Market Swaps, and price polling.” Use the Full SDK. You get namespaced access plus a typed <TxResponse> so your code knows what approveToken returns.
“I’m shipping a front-end and only sign Delta orders.” Use the Partial SDK: import constructBuildDeltaOrder, constructSignDeltaOrder, constructPostDeltaOrder and tree-shake the rest.
“I want a custom HTTP client (got, undici, superagent…).” All three variants accept a custom fetcher. See Configure providers.
constructSimpleSDK: one constructor, sensible defaults.
Full SDK
constructFullSDK. Namespaced, with typed transaction responses.
Partial SDK
constructPartialSDK: cherry-pick constructors, tree-shake the rest.
Last modified on June 14, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Velora Docs","colors":{"primary":"#FF6A1F","light":"#FF6A1F","dark":"#FF6A1F"},"logo":{"light":"https://mintcdn.com/digraphsas/dzTOBt-4vuC42FD_/logo/light.svg?fit=max\u0026auto=format\u0026n=dzTOBt-4vuC42FD_\u0026q=85\u0026s=10090a7fe31ef56e53c2c9d48e3eb26c","dark":"https://mintcdn.com/digraphsas/dzTOBt-4vuC42FD_/logo/dark.svg?fit=max\u0026auto=format\u0026n=dzTOBt-4vuC42FD_\u0026q=85\u0026s=421be1bbf11157d87224790015a42f1c"},"favicon":"https://mintcdn.com/digraphsas/dzTOBt-4vuC42FD_/favicon.png?fit=max\u0026auto=format\u0026n=dzTOBt-4vuC42FD_\u0026q=85\u0026s=cd546b11ab03ebe8be303fb3bf40f0ba","api":{"playground":{"display":"interactive"},"examples":{"prefill":true}},"navbar":{"primary":{"type":"button","label":"Launch app","href":"https://www.velora.xyz/app"}},"footer":{"socials":{"x":"https://x.com/veloradex","github":"https://github.com/VeloraDEX"}},"seo":{"metatags":{"og:site_name":"Velora Docs","og:type":"website","twitter:card":"summary_large_image","twitter:site":"@veloradex"},"indexing":"navigable"},"fonts":{"heading":{"family":"Geist"},"body":{"family":"Inter"}},"integrations":{"intercom":{"appId":"l8fmq3sh"}},"banner":{"content":"Building an AI agent? See [llms.txt](/docs/llms.txt) and [llms-full.txt](/docs/llms-full.txt).","dismissible":true},"errors":{"404":{"redirect":false,"title":"Page not found","description":"Try the search above, or browse: [Quickstart](/overview/quickstart) · [Delta API](/api-reference/delta/quote) · [Market API](/api-reference/market/prices)."}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/digraphsas/TXoumGm6_mmUQo5d/images/hero-bg-dark.svg?fit=max\u0026auto=format\u0026n=TXoumGm6_mmUQo5d\u0026q=85\u0026s=0cd568f5d09ef8e55f40a6bf0cef9caf"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"digraphsas","hasAudioNarration":false,"actualSubdomain":"digraphsas","customDomains":["docs.velora.xyz"],"gitSource":{"type":"github","owner":"veloradex","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad9db11fd1ebb929e8ceabf","collectionId":"52b4b080-ec94-4910-a6ae-8a0b134d268a","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad9db11fd1ebb929e8ceabf"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ad9db11fd1ebb929e8ceabf","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"Integrate","count":34},{"language":"default","tag":"API Reference","count":29},{"language":"default","tag":"Delta API","count":26},{"language":"default","tag":"Resources","count":19},{"language":"default","tag":"AI Agents","count":17},{"language":"default","tag":"SDK","count":14},{"language":"default","tag":"Widget","count":12},{"language":"default","tag":"Market API","count":11},{"language":"default","tag":"Examples","count":10},{"language":"default","tag":"Products","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","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":"vite-origin","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":"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}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"html[data-current-path=\"/\"] div:has(>.nav-tabs){display:none!important}html[data-current-path=\"/\"] #navbar{border-bottom:none!important}html[data-current-path=\"/\"] button.lg\\:hidden{display:none!important}html[data-current-path=\"/\"] [aria-label*=\"more\"i],html[data-current-path=\"/\"] [data-contextual],html[data-current-path=\"/\"] button:has(>svg.lucide-chevron-down){display:none!important}#background-color{background-image:url(\"/docs/images/hero-bg-light.svg\")!important;background-repeat:no-repeat!important;background-position:center center!important;background-size:cover!important}html.dark #background-color{background-image:url(\"/docs/images/hero-bg-dark.svg\")!important}#navbar-transition{background-color:transparent!important}.card{background-color:#ffffff!important;border-color:rgba(15, 23, 42, 0.08)!important;border-radius:16px!important;box-shadow:0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease}.card:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgba(255, 106, 31, 0.10), 0 16px 40px rgba(255, 106, 31, 0.12)}.card svg{color:#FF6A1F!important}.card [data-component-part=\"card-title\"]{color:#141822!important}.card .prose{color:#525C70!important}html.dark .card{background-color:#171B25!important;border-color:rgba(255, 255, 255, 0.12)!important;box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2)}html.dark .card [data-component-part=\"card-title\"]{color:#EDEFF3!important}html.dark .card .prose{color:#B4BBC8!important}.sidebar-group a[aria-current=\"page\"]{background-color:transparent!important;background-image:none!important;border-radius:0!important;box-shadow:inset 3px 0 0 #FF6A1F!important}#sidebar [class*=\"bg-gradient-to-b\"]{background-image:none!important}"}],"page":{"pagePath":"sdk/choose-a-variant","slug":"/sdk/choose-a-variant","pageMetadata":{"title":"Choose a Velora SDK variant","sidebarTitle":"Choose a variant","description":"Pick between Simple, Full, and Partial SDK constructors based on bundle size, API shape, and how much wiring you want to do.","keywords":["sdk","simple","full","partial","tree-shaking"],"href":"/sdk/choose-a-variant"},"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: \"Pick between Simple, Full, and Partial SDK constructors based on bundle size, API shape, and how much wiring you want to do.\"\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`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,Heading,Table}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The SDK ships three constructors that wrap the same per-method `,_jsx(_components.code,{children:`construct*`}),` primitives. They differ in how much of the SDK comes pre-wired and what the resulting API surface looks like.`]}),`\n`,_jsx(Heading,{level:`2`,id:`at-a-glance`,children:`At a glance`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{children:`Simple`}),_jsx(_components.th,{children:`Full`}),_jsx(_components.th,{children:`Partial`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Constructor`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`constructSimpleSDK`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`constructFullSDK`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`constructPartialSDK`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`API shape`}),_jsxs(_components.td,{children:[`Namespaced: `,_jsx(_components.code,{children:`sdk.swap.getRate(...)`}),`, `,_jsx(_components.code,{children:`sdk.delta.submitDeltaOrder(...)`}),`, `,_jsx(_components.code,{children:`sdk.quote.getQuote(...)`})]}),_jsxs(_components.td,{children:[`Same namespaces, typed against your transaction-response generic (`,_jsx(_components.code,{children:`sdk.swap.*`}),`, `,_jsx(_components.code,{children:`sdk.delta.*`}),`)`]}),_jsxs(_components.td,{children:[`Flat: `,_jsx(_components.code,{children:`sdk.getRate(...)`}),`, `,_jsx(_components.code,{children:`sdk.approveToken(...)`}),`. Whatever you import is what you get.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Bundle size`}),_jsx(_components.td,{children:`Includes every module`}),_jsx(_components.td,{children:`Includes every module`}),_jsx(_components.td,{children:`Tree-shaken to the constructors you import`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Provider wiring`}),_jsxs(_components.td,{children:[`Pass `,_jsx(_components.code,{children:`{ axios }`}),` or `,_jsx(_components.code,{children:`{ fetch }`}),` and (optionally) `,_jsx(_components.code,{children:`providerOptions`}),`; SDK builds the fetcher and contract caller for you`]}),_jsxs(_components.td,{children:[`You build `,_jsx(_components.code,{children:`fetcher`}),` and `,_jsx(_components.code,{children:`contractCaller`}),` and pass them in`]}),_jsxs(_components.td,{children:[`You build `,_jsx(_components.code,{children:`fetcher`}),` and `,_jsx(_components.code,{children:`contractCaller`}),` and pass them in`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\u003cTxResponse>`}),` generic`]}),_jsxs(_components.td,{children:[`Returns `,_jsx(_components.code,{children:`TxHash`}),` (string) for write calls`]}),_jsxs(_components.td,{children:[`You choose: viem `,_jsx(_components.code,{children:`Hex`}),`, `,_jsx(_components.code,{children:`ethers.ContractTransaction`}),`, etc.`]}),_jsxs(_components.td,{children:[`Inherits from the `,_jsx(_components.code,{children:`contractCaller`}),` you pass`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Best for`}),_jsx(_components.td,{children:`Quickstarts, server-side scripts, integrators who want one import`}),_jsx(_components.td,{children:`Apps that use most modules and want typed transaction responses`}),_jsx(_components.td,{children:`Bundle-size-sensitive front-ends`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`pick-by-use-case`,children:`Pick by use case`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`“I just want a quote and a swap.”`}),` Use the `,_jsx(_components.strong,{children:`Simple SDK`}),`: one constructor, ready to call.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`“I have a Node service that does Delta orders, Market Swaps, and price polling.”`}),` Use the `,_jsx(_components.strong,{children:`Full SDK`}),`. You get namespaced access plus a typed `,_jsx(_components.code,{children:`\u003cTxResponse>`}),` so your code knows what `,_jsx(_components.code,{children:`approveToken`}),` returns.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`“I’m shipping a front-end and only sign Delta orders.”`}),` Use the `,_jsx(_components.strong,{children:`Partial SDK`}),`: import `,_jsx(_components.code,{children:`constructBuildDeltaOrder`}),`, `,_jsx(_components.code,{children:`constructSignDeltaOrder`}),`, `,_jsx(_components.code,{children:`constructPostDeltaOrder`}),` and tree-shake the rest.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`“I want a custom HTTP client (got, undici, superagent…).”`}),` All three variants accept a custom `,_jsx(_components.code,{children:`fetcher`}),`. See `,_jsx(_components.a,{href:`/sdk/configure-providers#custom-fetcher`,children:`Configure providers`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-stays-the-same`,children:`What stays the same`}),`\n`,_jsxs(_components.p,{children:[`Every variant ultimately calls the same `,_jsx(_components.code,{children:`construct*`}),` factories under `,_jsxs(_components.a,{href:`https://github.com/VeloraDEX/sdk/tree/master/src/methods`,children:[_jsx(_components.code,{children:`@velora-dex/sdk`}),` `,_jsx(_components.code,{children:`src/methods/`})]}),`. That means:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Same method signatures across variants: `,_jsx(_components.code,{children:`getRate`}),`, `,_jsx(_components.code,{children:`buildDeltaOrder`}),`, `,_jsx(_components.code,{children:`submitDeltaOrder`}),`, etc. behave identically.`]}),`\n`,_jsxs(_components.li,{children:[`Same partner-fee handling. See `,_jsx(_components.a,{href:`/sdk/monetize`,children:`Monetize`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Same retries, errors, and `,_jsx(_components.code,{children:`FetcherError`}),` semantics regardless of constructor.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-pages`,children:`Related pages`}),`\n`,_jsxs(CardGroup,{cols:3,children:[_jsx(Card,{title:`Simple SDK`,icon:`bolt`,href:`/sdk/simple-sdk`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`constructSimpleSDK`}),`: one constructor, sensible defaults.`]})}),_jsx(Card,{title:`Full SDK`,icon:`cubes`,href:`/sdk/full-sdk`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`constructFullSDK`}),`. Namespaced, with typed transaction responses.`]})}),_jsx(Card,{title:`Partial SDK`,icon:`scissors`,href:`/sdk/partial-sdk`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`constructPartialSDK`}),`: cherry-pick constructors, tree-shake the rest.`]})})]})]})}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":"Choose a Velora SDK variant","sidebarTitle":"Choose a variant","description":"Pick between Simple, Full, and Partial SDK constructors based on bundle size, API shape, and how much wiring you want to do.","keywords":["sdk","simple","full","partial","tree-shaking"],"href":"/sdk/choose-a-variant"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"At a glance","slug":"at-a-glance","depth":2,"children":[]},{"title":"Pick by use case","slug":"pick-by-use-case","depth":2,"children":[]},{"title":"What stays the same","slug":"what-stays-the-same","depth":2,"children":[]},{"title":"Related pages","slug":"related-pages","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/digraphsas/deb703eb64c36dc9/consent.js"],"subdomain":"digraphsas","siteName":"Velora Docs","title":"Choose a Velora SDK variant - Velora Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-14T17:57:28.299Z","gitLastModified":"2026-06-14T22:43:57.000Z","originalFileLocation":"sdk/choose-a-variant.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=\"Pick between Simple, Full, and Partial SDK constructors based on bundle size, API shape, and how much wiring you want to do.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Velora Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/digraphsas/9UDYNopsfpJ1fXs8/_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=\"/docs/mintlify-assets/_mintlify/favicons/digraphsas/9UDYNopsfpJ1fXs8/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/digraphsas/9UDYNopsfpJ1fXs8/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/digraphsas/9UDYNopsfpJ1fXs8/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/digraphsas/9UDYNopsfpJ1fXs8/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/digraphsas/9UDYNopsfpJ1fXs8/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/digraphsas/9UDYNopsfpJ1fXs8/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/digraphsas/9UDYNopsfpJ1fXs8/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/digraphsas/9UDYNopsfpJ1fXs8/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Choose a Velora SDK variant - Velora Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Pick between Simple, Full, and Partial SDK constructors based on bundle size, API shape, and how much wiring you want to do.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Velora Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.velora.xyz/docs/sdk/choose-a-variant\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://digraphsas.mintlify.app/_mintlify/api/og/v2?division=SDK\u0026amp;title=Choose+a+Velora+SDK+variant\u0026amp;description=Pick+between+Simple%2C+Full%2C+and+Partial+SDK+constructors+based+on+bundle+size%2C+API+shape%2C+and+how+much+wiring+you+want+to+do.\u0026amp;theme=77c9b48266b95edd9d808f12\u0026amp;signature=67a5fa027a7436d1cf11a31941eb2c6b74e2198980049ae385b1de87c551a88f\">\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=\"Choose a Velora SDK variant - Velora Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Pick between Simple, Full, and Partial SDK constructors based on bundle size, API shape, and how much wiring you want to do.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://digraphsas.mintlify.app/_mintlify/api/og/v2?division=SDK\u0026amp;title=Choose+a+Velora+SDK+variant\u0026amp;description=Pick+between+Simple%2C+Full%2C+and+Partial+SDK+constructors+based+on+bundle+size%2C+API+shape%2C+and+how+much+wiring+you+want+to+do.\u0026amp;theme=77c9b48266b95edd9d808f12\u0026amp;signature=67a5fa027a7436d1cf11a31941eb2c6b74e2198980049ae385b1de87c551a88f\">\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=\"/docs/mintlify-assets/_mintlify/favicons/digraphsas/9UDYNopsfpJ1fXs8/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Velora Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF6A1F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.velora.xyz/docs/sdk/choose-a-variant\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/sdk/choose-a-variant.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.velora.xyz/#organization\",\"name\":\"Velora Docs\",\"url\":\"https://docs.velora.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/digraphsas/dzTOBt-4vuC42FD_/logo/light.svg?fit=max\u0026auto=format\u0026n=dzTOBt-4vuC42FD_\u0026q=85\u0026s=10090a7fe31ef56e53c2c9d48e3eb26c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.velora.xyz/docs#website\",\"name\":\"Velora Docs\",\"url\":\"https://docs.velora.xyz/docs\",\"publisher\":{\"@id\":\"https://docs.velora.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.velora.xyz/docs/sdk/choose-a-variant#webpage\",\"url\":\"https://docs.velora.xyz/docs/sdk/choose-a-variant\",\"name\":\"Choose a Velora SDK variant\",\"description\":\"Pick between Simple, Full, and Partial SDK constructors based on bundle size, API shape, and how much wiring you want to do.\",\"dateModified\":\"2026-06-14T22:43:57.000Z\",\"isPartOf\":{\"@id\":\"https://docs.velora.xyz/docs#website\"},\"breadcrumb\":{\"@id\":\"https://docs.velora.xyz/docs/sdk/choose-a-variant#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.velora.xyz/docs/sdk/choose-a-variant#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SDK\",\"item\":\"https://docs.velora.xyz/docs/sdk/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Choose a Velora SDK variant\",\"item\":\"https://docs.velora.xyz/docs/sdk/choose-a-variant\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.velora.xyz/docs/sdk/choose-a-variant#article\",\"headline\":\"Choose a Velora SDK variant\",\"name\":\"Choose a Velora SDK variant\",\"description\":\"Pick between Simple, Full, and Partial SDK constructors based on bundle size, API shape, and how much wiring you want to do.\",\"url\":\"https://docs.velora.xyz/docs/sdk/choose-a-variant\",\"mainEntityOfPage\":{\"@id\":\"https://docs.velora.xyz/docs/sdk/choose-a-variant#webpage\"},\"dateModified\":\"2026-06-14T22:43:57.000Z\",\"keywords\":\"sdk, simple, full, partial, tree-shaking\",\"publisher\":{\"@id\":\"https://docs.velora.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.velora.xyz/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Velora Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Velora Docs","nav":{"global":null,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/overview/why-velora"}]},{"tab":"Integrate","groups":[{"group":"API","pages":[{"title":"Velora API integration guide","sidebarTitle":"Overview","href":"/integrate/api"},{"title":"Delta, Market, and fallback modes","sidebarTitle":"Trading modes","href":"/integrate/trading-modes"},{"title":"Velora API rate limits","sidebarTitle":"Rate limits","href":"/integrate/rate-limits"},{"group":"Products","pages":[{"group":"Swaps","pages":[{"title":"Delta swap API integration","sidebarTitle":"Delta swaps","href":"/integrate/api/delta-swap"},{"title":"Market swap API integration","sidebarTitle":"Market swaps","href":"/integrate/api/market-swap"}]},{"title":"Limit order API integration","sidebarTitle":"Limit Orders","href":"/integrate/api/limit-orders"},{"title":"TWAP API integration","sidebarTitle":"TWAP","href":"/integrate/api/twap"},{"title":"OTC API integration with AugustusRFQ","sidebarTitle":"OTC","href":"/integrate/api/otc"}]}]},{"group":"SDK","pages":[{"title":"Velora SDK for TypeScript","sidebarTitle":"Overview","href":"/sdk/overview"},{"title":"Install @velora-dex/sdk","sidebarTitle":"Install","description":"Install @velora-dex/sdk and fetch your first quote in under five minutes.","href":"/sdk/install"},{"title":"Choose a Velora SDK variant","sidebarTitle":"Choose a variant","href":"/sdk/choose-a-variant"},{"title":"Simple SDK constructor","sidebarTitle":"Simple SDK","description":"constructSimpleSDK auto-wires the fetcher and contract caller so one constructor returns a working SDK for quotes, swaps, Delta orders, and approvals.","href":"/sdk/simple-sdk"},{"title":"Full SDK constructor","sidebarTitle":"Full SDK","href":"/sdk/full-sdk"},{"title":"Partial SDK constructor","sidebarTitle":"Partial SDK","href":"/sdk/partial-sdk"},{"group":"Products","pages":[{"group":"Swaps","pages":[{"title":"Delta swaps with the SDK","sidebarTitle":"Delta swaps","href":"/sdk/products/delta"},{"title":"Market swaps with the SDK","sidebarTitle":"Market swaps","href":"/sdk/products/swap"}]},{"title":"Limit orders with the SDK","sidebarTitle":"Limit Orders","href":"/sdk/products/limit-orders"},{"title":"TWAP orders with the SDK","sidebarTitle":"TWAP","href":"/sdk/products/twap"},{"title":"OTC trades with the SDK","sidebarTitle":"OTC","href":"/sdk/products/otc"}]},{"title":"Configure SDK wallet providers","sidebarTitle":"Configure providers","href":"/sdk/configure-providers"},{"title":"Test a Velora SDK integration","sidebarTitle":"Testing","href":"/sdk/testing-integration"},{"title":"Monetize SDK swaps","sidebarTitle":"Monetization","href":"/sdk/monetize"}]},{"group":"Widget","pages":[{"title":"Velora swap widget","sidebarTitle":"Overview","href":"/widget/overview"},{"title":"Install @velora-dex/widget","sidebarTitle":"Install","href":"/widget/install"},{"title":"Configure the Velora Widget","sidebarTitle":"Configure","href":"/widget/configure"},{"title":"Customize the Velora Widget","sidebarTitle":"Customize","href":"/widget/customize"},{"title":"Velora Widget wallet management","sidebarTitle":"Wallet management","href":"/widget/wallet-management"},{"title":"Velora Widget events and callbacks","sidebarTitle":"Events \u0026 callbacks","href":"/widget/events-and-callbacks"},{"title":"Velora Widget props and types","sidebarTitle":"Props \u0026 types","href":"/widget/widget-api-reference"},{"title":"Monetize Widget swaps","sidebarTitle":"Monetization","href":"/widget/monetize"},{"title":"Velora Widget compatibility","sidebarTitle":"Compatibility","href":"/widget/compatibility"},{"title":"Server-side rendering the Velora Widget","sidebarTitle":"Server-side rendering","href":"/widget/ssr"},{"group":"Examples","pages":[{"title":"Velora Widget React example","sidebarTitle":"React","href":"/widget/examples/react"},{"title":"Velora Widget Next.js example","sidebarTitle":"Next.js","href":"/widget/examples/nextjs"}]}]}]},{"tab":"Delta API","pages":[{"title":"Delta API","href":"/delta/overview"}]},{"tab":"Market API","pages":[{"title":"Market API","href":"/market/overview"}]},{"tab":"AI Agents","pages":[{"title":"AI Agents","href":"/for-agents/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/resources/chains-and-contracts"}]}]},"basePath":"","title":"Choose a Velora SDK variant - Velora Docs","buildId":"dpl_9yaRmq8qi7yyMZn9oEWmKEdYMvGZ","deploymentId":"dpl_9yaRmq8qi7yyMZn9oEWmKEdYMvGZ","dynamics":["10e4515597"],"chunks":["BannerMarkdown-Cid2x0Kq.js","dist-CpdUkuDP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-BZ8NiN2w.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}