If you receive a 403 error when trying to load Transak’s URL, it means your domain needs to be whitelisted.
Please contact us for assistance in resolving this issue.
This hook provides methods to control the On-ramp modal powered by Transak, allowing users to buy cryptocurrency with a credit/debit card directly within your application.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sequence Docs","colors":{"primary":"#B1A9FF","light":"#B1A9FF","dark":"#111111"},"logo":{"light":"https://mintcdn.com/sequence-0fb8d9e6/9rKTa07iWJtIbdn7/logo/sequence-composite-light.svg?fit=max\u0026auto=format\u0026n=9rKTa07iWJtIbdn7\u0026q=85\u0026s=18750aafea1146db72d2e3b695536390","dark":"https://mintcdn.com/sequence-0fb8d9e6/9rKTa07iWJtIbdn7/logo/sequence-composite-dark.svg?fit=max\u0026auto=format\u0026n=9rKTa07iWJtIbdn7\u0026q=85\u0026s=6efde0d56c8457026275cc8f3e34f0a4"},"favicon":"https://mintcdn.com/sequence-0fb8d9e6/Trdl1z4HOb4QxorB/favicon.png?fit=max\u0026auto=format\u0026n=Trdl1z4HOb4QxorB\u0026q=85\u0026s=d076be8f12c5eccec147aaca12dad634","appearance":{"default":"light","strict":false},"background":{"decoration":"gradient"},"navbar":{"primary":{"type":"button","label":"Sign In","href":"https://sequence.build"}},"footer":{"socials":{"x":"https://twitter.com/0xsequence","github":"https://github.com/0xsequence","discord":"https://discord.com/invite/YnGKP7d3vS"}},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"integrations":{"gtm":{"tagId":"GTM-MJL772VN"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Supported Chains","icon":"heart-pulse","href":"https://status.sequence.info/"},{"anchor":"Changelog","icon":"map","href":"https://0xsequence.featurebase.app/changelog"}]},"languages":[{"language":"en","href":"home"},{"language":"ja","href":"ja/home"},{"language":"es","href":"es/home"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sequence-0fb8d9e6","hasAudioNarration":false,"actualSubdomain":"sequence-0fb8d9e6","customDomains":["docs.sequence.xyz"],"gitSource":{"type":"github","owner":"0xsequence","repo":"docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a6b4f53bf20c4c03c2d22f7","collectionId":"4bb0d586-b014-44f6-932e-3be852309503","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a6b4f53bf20c4c03c2d22f7"},"feedback":{"thumbs":true,"edits":true,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6a6b4f53bf20c4c03c2d22f7:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"en","tag":"SDKs","count":193},{"language":"en","tag":"APIs","count":184},{"language":"ja","tag":"API","count":181},{"language":"en","tag":"Endpoints","count":150},{"language":"ja","tag":"エンドポイント","count":147},{"language":"en","tag":"Web SDKs","count":107},{"language":"ja","tag":"SDK","count":97},{"language":"en","tag":"Hooks","count":83},{"language":"en","tag":"Solutions","count":81},{"language":"en","tag":"Game Engine SDKs","count":71},{"language":"en","tag":"secret","count":70},{"language":"ja","tag":"シークレット","count":70},{"language":"en","tag":"Marketplace","count":59},{"language":"es","tag":"SDKs","count":54},{"language":"ja","tag":"ソリューション","count":52},{"language":"en","tag":"Wallets","count":49},{"language":"ja","tag":"アナリティクス","count":46},{"language":"ja","tag":"メタデータ","count":44},{"language":"ja","tag":"ゲームエンジンSDK","count":44},{"language":"es","tag":"SDKs Web","count":38},{"language":"ja","tag":"インデクサー","count":38},{"language":"ja","tag":"Web SDK","count":38},{"language":"es","tag":"Hooks","count":27},{"language":"es","tag":"Connect","count":27},{"language":"es","tag":"Soluciones","count":23},{"language":"es","tag":"Cartera del Ecosistema (v6)","count":14},{"language":"es","tag":"Cartera Incrustada (v5)","count":13},{"language":"es","tag":"SDKs de Motor de Juego","count":10},{"language":"es","tag":"Plataforma de Desarrollador","count":8},{"language":"es","tag":"Carteras","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"byok-sep-25","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":"billing-updated-9-15","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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".bg-matrix-dark,.dark .bg-matrix-light{background:linear-gradient(0deg,#0d0d0f 0,rgba(13,13,15,.95) 5%,rgba(13,13,15,.8) 15%,rgba(17,17,17,.1) 30%,rgba(17,17,17,.1) 70%,rgba(13,13,15,.8) 85%,rgba(13,13,15,.95) 95%,#0d0d0f 100%),linear-gradient(90deg,transparent 0,rgba(17,17,17,.6) 40%,rgba(17,17,17,.6) 60%,transparent 100%),url(https://pub-f048362b915448c9b012a2e03c189024.r2.dev/matrix-bg-dark.svg);background-size:cover;background-position:center center}img[alt=US]{display:none!important}div.relative.w-4.h-4.rounded-full:has(img[alt=US]){display:none!important}.bg-matrix-light{background:linear-gradient(0deg,#fff 0,rgba(240,240,240,.6) 30%,rgba(240,240,240,.6) 70%,#fff 100%),linear-gradient(90deg,transparent 0,rgba(240,240,240,.6) 40%,rgba(240,240,240,.6) 60%,transparent 100%),url(https://pub-f048362b915448c9b012a2e03c189024.r2.dev/matrix-bg-light.svg);background-size:cover;background-position:center center}.bg-gradient-dark{background:linear-gradient(90deg,rgba(17,17,17,0) 0,rgba(17,17,17,.75) 50%,rgba(17,17,17,0) 100%),linear-gradient(180deg,#111 0,rgba(17,17,17,0) 40%,rgba(17,17,17,0) 60%,#111 100%),linear-gradient(270deg,rgba(11,106,249,.25) 0,rgba(29,146,255,.3) 100%)}.bg-gradient-light{background:linear-gradient(180deg,#f0f0f0 0,rgba(255,255,255,0) 49.83%,#f0f0f0 100%),linear-gradient(90deg,#d2e4ff 0,rgba(210,228,255,.5) 25.3%,rgba(255,255,255,0) 49.83%,rgba(210,228,255,.5) 75.47%,#d2e4ff 100%)}"}],"page":{"pagePath":"sdk/web/checkout-sdk/hooks/useAddFundsModal","slug":"/sdk/web/checkout-sdk/hooks/useAddFundsModal","pageMetadata":{"title":"useAddFundsModal","description":"Hook for managing the add on-ramp modal","sidebarTitle":"useAddFundsModal","href":"/sdk/web/checkout-sdk/hooks/useAddFundsModal"},"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: \"Hook for managing the add on-ramp modal\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`import`,children:`Import`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`useAddFundsModal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@0xsequence/checkout'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`usage`,children:`Usage`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`23`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`useAddFundsModal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@0xsequence/checkout'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` App`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`triggerAddFunds`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` useAddFundsModal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` walletAddress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '0x123...'`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // User's wallet address`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` handleAddFunds`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` triggerAddFunds`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` walletAddress`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` defaultFiatAmount:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '50'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` defaultCryptoCurrency:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'USDC'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onOrderSuccessful`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Order successful!'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`button`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` onClick`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`handleAddFunds`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Add Funds`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`button`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`If you receive a 403 error when trying to load Transak’s URL, it means your domain needs to be whitelisted.\nPlease contact us for assistance in resolving this issue.`})}),`\n`,_jsxs(Heading,{level:`2`,id:`return-type-useaddfundsmodalreturntype`,children:[`Return Type: `,_jsx(_components.code,{children:`UseAddFundsModalReturnType`})]}),`\n`,_jsx(_components.p,{children:`The hook returns an object with the following properties:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` UseAddFundsModalReturnType`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` triggerAddFunds`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`settings`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` AddFundsSettings`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` void`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` closeAddFunds`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` void`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` addFundsSettings`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` AddFundsSettings`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` undefined`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`properties`,children:`Properties`}),`\n`,_jsx(Heading,{level:`4`,id:`triggeraddfunds`,children:`triggerAddFunds`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`(settings: AddFundsSettings) => void`})}),`\n`,_jsx(_components.p,{children:`Opens the On-ramp modal with the specified parameters.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Parameters:`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`walletAddress`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string | Hex`})}),_jsx(_components.td,{children:`The address of the wallet to receive funds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fiatAmount`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`(Optional) The exact fiat amount to be used`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fiatCurrency`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`(Optional) The currency for the fiat amount (e.g., ‘USD’, ‘EUR’)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`defaultFiatAmount`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`(Optional) The default fiat amount to display`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`defaultCryptoCurrency`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`(Optional) The default cryptocurrency to purchase`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cryptoCurrencyList`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`(Optional) Comma-separated list of available cryptocurrencies`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`networks`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`(Optional) Comma-separated list of available networks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onClose`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`() => void`})}),_jsx(_components.td,{children:`(Optional) Callback when the modal is closed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onOrderCreated`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(data: any) => void`})}),_jsx(_components.td,{children:`(Optional) Callback when a new order is created`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onOrderSuccessful`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(data: any) => void`})}),_jsx(_components.td,{children:`(Optional) Callback when order completes successfully`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onOrderFailed`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(data: any) => void`})}),_jsx(_components.td,{children:`(Optional) Callback when order fails`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`closeaddfunds`,children:`closeAddFunds`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`() => void`})}),`\n`,_jsx(_components.p,{children:`Closes the On-ramp modal.`}),`\n`,_jsx(Heading,{level:`4`,id:`addfundssettings`,children:`addFundsSettings`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`AddFundsSettings | undefined`})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`AddFundsSettings Interface:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` AddFundsSettings`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` walletAddress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Hex`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` fiatAmount`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` fiatCurrency`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` defaultFiatAmount`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` defaultCryptoCurrency`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` cryptoCurrencyList`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` networks`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onClose`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` void`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onOrderCreated`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` void`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onOrderSuccessful`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` void`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onOrderFailed`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` void`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The current settings configuration for the On-ramp modal.`}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsx(_components.p,{children:`This hook provides methods to control the On-ramp modal powered by Transak, allowing users to buy cryptocurrency with a credit/debit card directly within your application.`})]})}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":"useAddFundsModal","description":"Hook for managing the add on-ramp modal","sidebarTitle":"useAddFundsModal","href":"/sdk/web/checkout-sdk/hooks/useAddFundsModal"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Import","slug":"import","depth":2,"children":[]},{"title":"Usage","slug":"usage","depth":2,"children":[]},{"title":"Return Type: UseAddFundsModalReturnType","slug":"return-type-useaddfundsmodalreturntype","depth":2,"children":[{"title":"Properties","slug":"properties","depth":3,"children":[]},{"title":"triggerAddFunds","slug":"triggeraddfunds","depth":4,"children":[]},{"title":"closeAddFunds","slug":"closeaddfunds","depth":4,"children":[]},{"title":"addFundsSettings","slug":"addfundssettings","depth":4,"children":[]}]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/sequence-0fb8d9e6/5928f07079c865a1/scripts/update_security_schemas.js","/_mintlify/custom/sequence-0fb8d9e6/b206a90082858d4a/snippets/databeat-tracker.js","/_mintlify/custom/sequence-0fb8d9e6/0281ffbe15eb5584/snippets/dist/databeat-tracker.umd.js"],"subdomain":"sequence-0fb8d9e6","siteName":"Sequence Docs","title":"useAddFundsModal - Sequence Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/sdk/web/checkout-sdk/hooks/useAddFundsModal","matchLevel":0},"ja":{"href":"/ja/sdk/web/checkout-sdk/hooks/useAddFundsModal","matchLevel":1},"es":{"href":"/es/sdk/web/checkout-sdk/hooks/useAddFundsModal","matchLevel":1}}},"lastModified":"2025-10-17T09:21:43.043Z","originalFileLocation":"sdk/web/checkout-sdk/hooks/useAddFundsModal.mdx","locale":"en"},"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=\"light\"}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=\"Hook for managing the add on-ramp modal\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sequence Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sequence-0fb8d9e6/WZ0nVbE4CcPhWh5d/_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/sequence-0fb8d9e6/WZ0nVbE4CcPhWh5d/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sequence-0fb8d9e6/WZ0nVbE4CcPhWh5d/_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/sequence-0fb8d9e6/WZ0nVbE4CcPhWh5d/_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/sequence-0fb8d9e6/WZ0nVbE4CcPhWh5d/_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/sequence-0fb8d9e6/WZ0nVbE4CcPhWh5d/_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/sequence-0fb8d9e6/WZ0nVbE4CcPhWh5d/_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/sequence-0fb8d9e6/WZ0nVbE4CcPhWh5d/_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/sequence-0fb8d9e6/WZ0nVbE4CcPhWh5d/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"useAddFundsModal - Sequence Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Hook for managing the add on-ramp modal\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sequence Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sequence.xyz/sdk/web/checkout-sdk/hooks/useAddFundsModal\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sequence-0fb8d9e6.mintlify.app/_mintlify/api/og/v2?division=Hooks\u0026amp;title=useAddFundsModal\u0026amp;description=Hook+for+managing+the+add+on-ramp+modal\u0026amp;theme=3cfa20f380481c9c1062693e\u0026amp;signature=3107a4238e1f5140b2ea7e907f4028d1bb4b954fa33929eeec5afbd857ffd721\">\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=\"useAddFundsModal - Sequence Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Hook for managing the add on-ramp modal\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sequence-0fb8d9e6.mintlify.app/_mintlify/api/og/v2?division=Hooks\u0026amp;title=useAddFundsModal\u0026amp;description=Hook+for+managing+the+add+on-ramp+modal\u0026amp;theme=3cfa20f380481c9c1062693e\u0026amp;signature=3107a4238e1f5140b2ea7e907f4028d1bb4b954fa33929eeec5afbd857ffd721\">\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/sequence-0fb8d9e6/WZ0nVbE4CcPhWh5d/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sequence Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#B1A9FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sequence.xyz/sdk/web/checkout-sdk/hooks/useAddFundsModal\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sdk/web/checkout-sdk/hooks/useAddFundsModal.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.sequence.xyz/sdk/web/checkout-sdk/hooks/useAddFundsModal\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.sequence.xyz/ja/sdk/web/checkout-sdk/hooks/useAddFundsModal\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.sequence.xyz/es/sdk/web/checkout-sdk/hooks/useAddFundsModal\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.sequence.xyz/sdk/web/checkout-sdk/hooks/useAddFundsModal\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sequence.xyz/#organization\",\"name\":\"Sequence Docs\",\"url\":\"https://docs.sequence.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sequence-0fb8d9e6/9rKTa07iWJtIbdn7/logo/sequence-composite-light.svg?fit=max\u0026auto=format\u0026n=9rKTa07iWJtIbdn7\u0026q=85\u0026s=18750aafea1146db72d2e3b695536390\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sequence.xyz#website\",\"name\":\"Sequence Docs\",\"url\":\"https://docs.sequence.xyz\",\"publisher\":{\"@id\":\"https://docs.sequence.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sequence.xyz/sdk/web/checkout-sdk/hooks/useAddFundsModal#webpage\",\"url\":\"https://docs.sequence.xyz/sdk/web/checkout-sdk/hooks/useAddFundsModal\",\"name\":\"useAddFundsModal\",\"description\":\"Hook for managing the add on-ramp modal\",\"dateModified\":\"2025-10-17T09:21:43.043Z\",\"isPartOf\":{\"@id\":\"https://docs.sequence.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sequence.xyz/sdk/web/checkout-sdk/hooks/useAddFundsModal#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sequence.xyz/sdk/web/checkout-sdk/hooks/useAddFundsModal#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Web SDKs\",\"item\":\"https://docs.sequence.xyz/sdk/web/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Checkout\",\"item\":\"https://docs.sequence.xyz/sdk/web/checkout-sdk/getting-started\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"useAddFundsModal\",\"item\":\"https://docs.sequence.xyz/sdk/web/checkout-sdk/hooks/useAddFundsModal\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.sequence.xyz/sdk/web/checkout-sdk/hooks/useAddFundsModal#article\",\"headline\":\"useAddFundsModal\",\"name\":\"useAddFundsModal\",\"description\":\"Hook for managing the add on-ramp modal\",\"url\":\"https://docs.sequence.xyz/sdk/web/checkout-sdk/hooks/useAddFundsModal\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sequence.xyz/sdk/web/checkout-sdk/hooks/useAddFundsModal#webpage\"},\"dateModified\":\"2025-10-17T09:21:43.043Z\",\"publisher\":{\"@id\":\"https://docs.sequence.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sequence.xyz#website\"}}]}\u003c/script>","siteName":"Sequence Docs","nav":{"global":{"anchors":[{"anchor":"Supported Chains","icon":"heart-pulse","href":"https://status.sequence.info/"},{"anchor":"Changelog","icon":"map","href":"https://0xsequence.featurebase.app/changelog"}]},"languages":[{"language":"en","tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/home"}]},{"tab":"Solutions","pages":[{"title":"Solutions","href":"/solutions/overview"}]},{"tab":"SDKs","groups":[{"group":" ","pages":[{"title":"Overview","href":"/sdk/overview"}]},{"group":"Web SDKs","pages":[{"title":"Web SDKs","sidebarTitle":"Overview","href":"/sdk/web/overview"},{"group":"Connect","pages":[{"group":"Ecosystem Wallet (v6)","pages":[{"title":null,"href":"/sdk/web/wallet-sdk/ecosystem/overview"},{"sidebarTitle":"Getting Started","title":null,"href":"/sdk/web/wallet-sdk/ecosystem/getting-started"},{"group":"Smart Sessions","pages":[{"sidebarTitle":"Overview","title":null,"href":"/sdk/web/wallet-sdk/ecosystem/smart-sessions/overview"},{"sidebarTitle":"Utilities","title":null,"href":"/sdk/web/wallet-sdk/ecosystem/smart-sessions/utils"},{"sidebarTitle":"Examples","title":null,"href":"/sdk/web/wallet-sdk/ecosystem/smart-sessions/examples"}]},{"group":"Hooks","pages":[{"title":"useOpenConnectModal","sidebarTitle":"useOpenConnectModal","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useOpenConnectModal"},{"title":"useChain","sidebarTitle":"useChain","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useChain"},{"title":"useFeeOptions","sidebarTitle":"useFeeOptions","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useFeeOptions"},{"title":"useHasPermission","sidebarTitle":"useHasPermission","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useHasPermission"},{"title":"useSendWalletTransaction","sidebarTitle":"useSendWalletTransaction","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useSendWalletTransaction"},{"title":"useExplicitSessions","sidebarTitle":"useExplicitSessions","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useExplicitSessions"},{"title":"useListAccounts","sidebarTitle":"useListAccounts","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useListAccounts"},{"title":"useSignInEmail","sidebarTitle":"useSignInEmail","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useSignInEmail"},{"title":"useStorage","sidebarTitle":"useStorage","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useStorage"},{"title":"useTheme","sidebarTitle":"useTheme","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useTheme"},{"title":"useWalletSettings","sidebarTitle":"useWalletSettings","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useWalletSettings"},{"title":"useWallets","sidebarTitle":"useWallets","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useWallets"},{"title":"useProjectAccessKey","sidebarTitle":"useProjectAccessKey","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useProjectAccessKey"},{"title":"useSequenceSessionState","sidebarTitle":"useSequenceSessionState","href":"/sdk/web/wallet-sdk/ecosystem/hooks/useSequenceSessionState"}]}]},{"group":"Embedded Wallet (v5)","pages":[{"title":"Getting Started with Web SDK for Embedded Wallet","sidebarTitle":"Getting Started","href":"/sdk/web/wallet-sdk/embedded/getting-started"},{"title":"Migrate to v5 (Web SDK)","sidebarTitle":"Migrate from v4 to v5","href":"/sdk/web/wallet-sdk/embedded/migration"},{"title":"Ethers v6 Migration Guide","sidebarTitle":"Ethers v6 Support","href":"/sdk/web/wallet-sdk/embedded/ethers-v6-migration"},{"group":"Guides","pages":[{"title":"Send a sponsored transaction","sidebarTitle":"Sponsor transactions","href":"/sdk/web/wallet-sdk/embedded/guides/send-sponsored-tx"},{"title":"Pay Gas in ERC20","href":"/sdk/web/wallet-sdk/embedded/guides/pay-gas-in-erc20"},{"title":"On-ramp Overview","sidebarTitle":"On-ramp","href":"/sdk/web/wallet-sdk/embedded/guides/on-ramp"},{"title":"Smart Swaps","sidebarTitle":"Smart Swaps","href":"/sdk/web/wallet-sdk/embedded/guides/smart-swaps"},{"title":"On-ramp and Swap to a custom token","sidebarTitle":"On-ramp and Swap to a custom token","href":"/sdk/web/wallet-sdk/embedded/guides/on-ramp-and-swap"},{"title":"Checkout Modal","sidebarTitle":"Checkout Modal","href":"/sdk/web/wallet-sdk/embedded/guides/checkout"},{"title":"Web Verification Guide","sidebarTitle":"Backend Verification","href":"/sdk/web/wallet-sdk/embedded/guides/verification"}]},{"group":"Hooks","pages":[{"title":"useOpenConnectModal","sidebarTitle":"useOpenConnectModal","href":"/sdk/web/wallet-sdk/embedded/hooks/useOpenConnectModal"},{"title":"useChain","sidebarTitle":"useChain","href":"/sdk/web/wallet-sdk/embedded/hooks/useChain"},{"title":"useWaasFeeOptions","sidebarTitle":"useWaasFeeOptions","href":"/sdk/web/wallet-sdk/embedded/hooks/useWaasFeeOptions"},{"title":"useCheckWaasFeeOptions","sidebarTitle":"useCheckWaasFeeOptions","href":"/sdk/web/wallet-sdk/embedded/hooks/useCheckWaasFeeOptions"},{"title":"useListAccounts","sidebarTitle":"useListAccounts","href":"/sdk/web/wallet-sdk/embedded/hooks/useListAccounts"},{"title":"useSignInEmail","sidebarTitle":"useSignInEmail","href":"/sdk/web/wallet-sdk/embedded/hooks/useSignInEmail"},{"title":"useStorage","sidebarTitle":"useStorage","href":"/sdk/web/wallet-sdk/embedded/hooks/useStorage"},{"title":"useTheme","sidebarTitle":"useTheme","href":"/sdk/web/wallet-sdk/embedded/hooks/useTheme"},{"title":"useWalletSettings","sidebarTitle":"useWalletSettings","href":"/sdk/web/wallet-sdk/embedded/hooks/useWalletSettings"},{"title":"useWallets","sidebarTitle":"useWallets","href":"/sdk/web/wallet-sdk/embedded/hooks/useWallets"},{"title":"useProjectAccessKey","sidebarTitle":"useProjectAccessKey","href":"/sdk/web/wallet-sdk/embedded/hooks/useProjectAccessKey"},{"title":"useSequenceWaaS","sidebarTitle":"useSequenceWaaS","href":"/sdk/web/wallet-sdk/embedded/hooks/useSequenceWaas"},{"title":"useSocialLink","sidebarTitle":"useSocialLink","href":"/sdk/web/wallet-sdk/embedded/hooks/useSocialLink"}]},{"title":"Custom Configuration Options","sidebarTitle":"Custom Configuration","href":"/sdk/web/wallet-sdk/embedded/custom-configuration"},{"title":"Custom Connectors in Web SDK","sidebarTitle":"Custom Connectors","href":"/sdk/web/wallet-sdk/embedded/custom-connectors"}]}]},{"group":"Checkout","pages":[{"description":"Learn how to get started with Checkout SDK","sidebarTitle":"Getting Started","title":null,"href":"/sdk/web/checkout-sdk/getting-started"},{"group":"Hooks","pages":[{"title":"useAddFundsModal","sidebarTitle":"useAddFundsModal","href":"/sdk/web/checkout-sdk/hooks/useAddFundsModal"},{"title":"useCheckoutModal","description":"Hook for managing a simple checkout modal","sidebarTitle":"useCheckoutModal","href":"/sdk/web/checkout-sdk/hooks/useCheckoutModal"},{"title":"useSelectPaymentModal","sidebarTitle":"useSelectPaymentModal","href":"/sdk/web/checkout-sdk/hooks/useSelectPaymentModal"},{"title":"useSwapModal","sidebarTitle":"useSwapModal","href":"/sdk/web/checkout-sdk/hooks/useSwapModal"},{"title":"useTransferFundsModal","sidebarTitle":"useTransferFundsModal","href":"/sdk/web/checkout-sdk/hooks/useTransferFundsModal"}]}]},{"group":"Hooks","pages":[{"sidebarTitle":"Getting Started","title":null,"href":"/sdk/web/hooks-sdk/getting-started"},{"title":"useGetCoinPrices","sidebarTitle":"useGetCoinPrices","href":"/sdk/web/hooks-sdk/hooks/useGetCoinPrices"},{"title":"useGetCollectiblePrices","sidebarTitle":"useGetCollectiblePrices","href":"/sdk/web/hooks-sdk/hooks/useGetCollectiblePrices"},{"title":"useGetContractInfo","sidebarTitle":"useGetContractInfo","href":"/sdk/web/hooks-sdk/hooks/useGetContractInfo"},{"title":"useGetExchangeRate","sidebarTitle":"useGetExchangeRate","href":"/sdk/web/hooks-sdk/hooks/useGetExchangeRate"},{"title":"useGetSwapRoutes","sidebarTitle":"useGetSwapRoutes","href":"/sdk/web/hooks-sdk/hooks/useGetSwapRoutes"},{"title":"useGetSwapQuote","sidebarTitle":"useGetSwapQuote","href":"/sdk/web/hooks-sdk/hooks/useGetSwapQuote"},{"title":"useGetTransactionHistory","sidebarTitle":"useGetTransactionHistory","href":"/sdk/web/hooks-sdk/hooks/useGetTransactionHistory"},{"title":"useGetMultipleContractsInfo","sidebarTitle":"useGetMultipleContractsInfo","href":"/sdk/web/hooks-sdk/hooks/useGetMultipleContractsInfo"},{"title":"useGetTokenMetadata","sidebarTitle":"useGetTokenMetadata","href":"/sdk/web/hooks-sdk/hooks/useGetTokenMetadata"},{"title":"useMetadataClient","sidebarTitle":"useMetadataClient","href":"/sdk/web/hooks-sdk/hooks/useMetadataClient"},{"title":"useGetNativeTokenBalance","sidebarTitle":"useGetNativeTokenBalance","href":"/sdk/web/hooks-sdk/hooks/useGetNativeTokenBalance"},{"title":"useGetSingleTokenBalance","sidebarTitle":"useGetSingleTokenBalance","href":"/sdk/web/hooks-sdk/hooks/useGetSingleTokenBalance"},{"title":"useGetTransactionHistorySummary","sidebarTitle":"useGetTransactionHistorySummary","href":"/sdk/web/hooks-sdk/hooks/useGetTransactionHistorySummary"},{"title":"useIndexerClient","sidebarTitle":"useIndexerClient","href":"/sdk/web/hooks-sdk/hooks/useIndexerClient"},{"title":"useGetTokenBalancesByContract","sidebarTitle":"useGetTokenBalancesByContract","href":"/sdk/web/hooks-sdk/hooks/useGetTokenBalancesByContract"},{"title":"useGetTokenBalancesDetails","sidebarTitle":"useGetTokenBalancesDetails","href":"/sdk/web/hooks-sdk/hooks/useGetTokenBalancesDetails"},{"title":"useGetTokenBalancesSummary","sidebarTitle":"useGetTokenBalancesSummary","href":"/sdk/web/hooks-sdk/hooks/useGetTokenBalancesSummary"},{"title":"useIndexerGatewayClient","sidebarTitle":"useIndexerGatewayClient","href":"/sdk/web/hooks-sdk/hooks/useIndexerGatewayClient"}]},{"group":"Wallet Widget","pages":[{"sidebarTitle":"Getting Started","title":null,"href":"/sdk/web/wallet-widget-sdk/getting-started"},{"group":"Hooks","pages":[{"title":"useOpenWalletModal","sidebarTitle":"useOpenWalletModal","href":"/sdk/web/wallet-widget-sdk/hooks/useOpenWalletModal"}]}]},{"group":"Marketplace","pages":[{"title":"Marketplace SDK","sidebarTitle":"Overview","href":"/sdk/web/marketplace-sdk/overview"},{"title":"Getting Started with Marketplace SDK","sidebarTitle":"Getting Started","href":"/sdk/web/marketplace-sdk/getting-started"},{"group":"Hooks","pages":[{"group":"Marketplace Actions","pages":[{"title":"useCreateListingModal","sidebarTitle":"useCreateListingModal","href":"/sdk/web/marketplace-sdk/hooks/marketplace-actions/useCreateListingModal"},{"title":"useBuyModal","sidebarTitle":"useBuyModal","href":"/sdk/web/marketplace-sdk/hooks/marketplace-actions/useBuyModal"},{"title":"useMakeOfferModal","sidebarTitle":"useMakeOfferModal","href":"/sdk/web/marketplace-sdk/hooks/marketplace-actions/useMakeOfferModal"},{"title":"useSellModal","sidebarTitle":"useSellModal","href":"/sdk/web/marketplace-sdk/hooks/marketplace-actions/useSellModal"},{"title":"useCancelOrder","sidebarTitle":"useCancelOrder","href":"/sdk/web/marketplace-sdk/hooks/marketplace-actions/useCancelOrder"},{"title":"useTransferModal","sidebarTitle":"useTransferModal","href":"/sdk/web/marketplace-sdk/hooks/marketplace-actions/useTransferModal"}]},{"group":"Marketplace Data","pages":[{"title":"Marketplace Data Hooks","sidebarTitle":"Overview","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/overview"},{"title":"useCollectible","sidebarTitle":"useCollectible","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useCollectible"},{"title":"useBalanceOfCollectible","sidebarTitle":"useBalanceOfCollectible","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useBalanceOfCollectible"},{"title":"useListListingsForCollectible","sidebarTitle":"useListListingsForCollectible","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useListListingsForCollectible"},{"title":"useListOffersForCollectible","sidebarTitle":"useListOffersForCollectible","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useListOffersForCollectible"},{"title":"useCountOfCollectables","sidebarTitle":"useCountOfCollectables","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useCountOfCollectables"},{"title":"useGetCountOfFilteredOrders","sidebarTitle":"useGetCountOfFilteredOrders","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useGetCountOfFilteredOrders"},{"title":"useGetCountOfPrimarySaleItems","sidebarTitle":"useGetCountOfPrimarySaleItems","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useGetCountOfPrimarySaleItems"},{"title":"useCountListingsForCollectible","sidebarTitle":"useCountListingsForCollectible","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useCountListingsForCollectible"},{"title":"useCountOffersForCollectible","sidebarTitle":"useCountOffersForCollectible","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useCountOffersForCollectible"},{"title":"useListCollectibles","sidebarTitle":"useListCollectibles","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useListCollectibles"},{"title":"useListCollectiblesPaginated","sidebarTitle":"useListCollectiblesPaginated","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useListCollectiblesPaginated"},{"title":"useMarketplaceConfig","sidebarTitle":"useMarketplaceConfig","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useMarketplaceConfig"},{"title":"useMarketCurrencies","sidebarTitle":"useMarketCurrencies","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useMarketCurrencies"},{"title":"useCollection","sidebarTitle":"useCollection","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useCollection"},{"title":"useCollectionBalanceDetails","sidebarTitle":"useCollectionBalanceDetails","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useCollectionBalanceDetails"},{"title":"useCollectionDetails","sidebarTitle":"useCollectionDetails","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useCollectionDetails"},{"title":"useInventory","sidebarTitle":"useInventory","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useInventory"},{"title":"useLowestListing","sidebarTitle":"useLowestListing","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useLowestListing"},{"title":"useListPrimarySaleItems","sidebarTitle":"useListPrimarySaleItems","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useListPrimarySaleItems"},{"title":"useListCollections","sidebarTitle":"useListCollections","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useListCollections"},{"title":"useHighestOffer","sidebarTitle":"useHighestOffer","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useHighestOffer"},{"title":"useFloorOrder","sidebarTitle":"useFloorOrder","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useFloorOrder"},{"title":"useFilters","sidebarTitle":"useFilters","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useFilters"},{"title":"useCurrency","sidebarTitle":"useCurrency","href":"/sdk/web/marketplace-sdk/hooks/marketplace-data/useCurrency"}]}]},{"group":"Components","pages":[{"title":"Media","sidebarTitle":"Media","href":"/sdk/web/marketplace-sdk/components/Media"},{"title":"CollectibleCard","sidebarTitle":"CollectibleCard","href":"/sdk/web/marketplace-sdk/components/CollectibleCard"}]}]}]},{"group":"Game Engine SDKs","pages":[{"group":"Unity","pages":[{"title":"Overview","href":"/sdk/unity/overview"},{"title":"Installation","href":"/sdk/unity/installation"},{"title":"Boostrap your Ecosystem Wallet Game","sidebarTitle":"Bootstrap","href":"/sdk/unity/bootstrap"},{"group":"Wallets","pages":[{"group":"Ecosystem Wallet","pages":[{"title":"Unity SDK Setup for Ecosystem Wallets","sidebarTitle":"Setup","href":"/sdk/unity/wallets/ecosystem-wallet/setup"},{"title":"Unity Ecosystem Wallet Authentication","sidebarTitle":"Authentication","href":"/sdk/unity/wallets/ecosystem-wallet/authentication"},{"title":"Manage Unity Ecosystem Wallet Sessions","sidebarTitle":"Manage Sessions","href":"/sdk/unity/wallets/ecosystem-wallet/manage-sessions"},{"title":"Unity Ecosystem Wallet Permissions","sidebarTitle":"Permissions","href":"/sdk/unity/wallets/ecosystem-wallet/permissions"},{"title":"Unity Ecosystem Wallet Blockchain Interactions","sidebarTitle":"Blockchain Interactions","href":"/sdk/unity/wallets/ecosystem-wallet/blockchain-interactions"}]},{"group":"Embedded Wallet","pages":[{"title":"Unity SDK Setup for Embedded Wallets","sidebarTitle":"Setup","href":"/sdk/unity/wallets/embedded-wallet/setup"},{"group":"Authentication","pages":[{"title":null,"href":"/sdk/unity/wallets/embedded-wallet/onboard/authentication/intro"},{"title":"Email + OTP","href":"/sdk/unity/wallets/embedded-wallet/onboard/authentication/email"},{"title":"OIDC - Social Sign In","href":"/sdk/unity/wallets/embedded-wallet/onboard/authentication/oidc"},{"title":"PlayFab","href":"/sdk/unity/wallets/embedded-wallet/onboard/authentication/playfab"},{"title":"Guest","href":"/sdk/unity/wallets/embedded-wallet/onboard/authentication/guest"},{"title":"Federated Accounts","href":"/sdk/unity/wallets/embedded-wallet/onboard/authentication/federated-accounts"}]},{"title":"Unity Session Management — Sequence Docs","sidebarTitle":"Session Management","href":"/sdk/unity/wallets/embedded-wallet/session-management"},{"title":"Recover Embedded Wallet Sessions","sidebarTitle":"Recovering Sessions","href":"/sdk/unity/wallets/embedded-wallet/recovering-sessions"},{"title":"Connecting External Wallets","href":"/sdk/unity/wallets/embedded-wallet/connecting-external-wallets"},{"title":"Blockchain Interactions","href":"/sdk/unity/wallets/embedded-wallet/blockchain-interactions"},{"title":"Sign Messages","href":"/sdk/unity/wallets/embedded-wallet/sign-messages"}]}]},{"group":"Indexer","pages":[{"title":"Read from Blockchain","href":"/sdk/unity/indexer/read-from-blockchain"},{"title":"Smart Contract Events","href":"/sdk/unity/indexer/contract-events"}]},{"group":"Monetization","pages":[{"title":"Introduction","href":"/sdk/unity/monetization/intro"},{"title":"Checkout UI","href":"/sdk/unity/monetization/checkout-ui"},{"group":"Primary Sales","pages":[{"title":"Introduction","href":"/sdk/unity/monetization/primary-sales/intro"},{"title":"Credit Card Checkout","href":"/sdk/unity/monetization/primary-sales/credit-card-checkout"}]},{"group":"Secondary Sales Marketplace","pages":[{"title":"Introduction","href":"/sdk/unity/monetization/secondary-sales/intro"},{"title":"Building a Marketplace","href":"/sdk/unity/monetization/secondary-sales/building-a-marketplace"},{"title":"Creating Listings","href":"/sdk/unity/monetization/secondary-sales/creating-listings"},{"title":"Creating Offers","href":"/sdk/unity/monetization/secondary-sales/creating-offers"},{"title":"Accepting Offers","href":"/sdk/unity/monetization/secondary-sales/accepting-offers"},{"group":"How it Works","pages":[{"title":"Reading Orders","href":"/sdk/unity/monetization/secondary-sales/how-it-works/reading-orders"},{"title":"Filling Orders","href":"/sdk/unity/monetization/secondary-sales/how-it-works/filling-orders"},{"title":"Credit Card Checkout","href":"/sdk/unity/monetization/secondary-sales/how-it-works/credit-card-checkout"}]}]},{"title":"Unity Currency Swaps","href":"/sdk/unity/monetization/currency-swaps"},{"title":"Onboard User Funds","href":"/sdk/unity/monetization/onboard-user-funds"}]},{"group":"Advanced","pages":[{"title":"Secure Session Recovery","href":"/sdk/unity/advanced/recovering-sessions"},{"title":"Smart Contract Deployment","href":"/sdk/unity/advanced/deploy-contracts"},{"title":"Introduction","href":"/sdk/unity/advanced/introduction"},{"title":"Wallets","href":"/sdk/unity/advanced/wallets"},{"title":"Clients","href":"/sdk/unity/advanced/clients"},{"title":"Transfers","href":"/sdk/unity/advanced/transfers"},{"title":"Smart Contracts","href":"/sdk/unity/advanced/contracts"},{"title":"Tokens","href":"/sdk/unity/advanced/tokens"}]}]},{"group":"Unreal","pages":[{"title":"Overview","href":"/sdk/unreal/overview"},{"title":"Installation","href":"/sdk/unreal/installation"},{"title":"Bootstrap your Unreal Game","sidebarTitle":"Bootstrap","href":"/sdk/unreal/bootstrap"},{"group":"Wallets","pages":[{"group":"Ecosystem Wallet","pages":[{"title":"Unreal Ecosystem Wallet Setup","sidebarTitle":"Setup","href":"/sdk/unreal/wallets/ecosystem-wallet/setup"},{"title":"Unreal Ecosystem Wallet Authentication","sidebarTitle":"Authentication","href":"/sdk/unreal/wallets/ecosystem-wallet/authentication"},{"title":"Unreal Ecosystem Wallet Permissions","sidebarTitle":"Permissions","href":"/sdk/unreal/wallets/ecosystem-wallet/permissions"},{"title":"Manage Unreal Ecosystem Wallet Sessions","sidebarTitle":"Manage Sessions","href":"/sdk/unreal/wallets/ecosystem-wallet/manage-sessions"},{"title":"Unreal Ecosystem Wallet Blockchain Interactions","sidebarTitle":"Blockchain Interactions","href":"/sdk/unreal/wallets/ecosystem-wallet/blockchain-interactions"}]},{"group":"Embedded Wallet","pages":[{"title":"Unreal Embedded Wallet Setup","sidebarTitle":"Setup","href":"/sdk/unreal/wallets/embedded-wallet/setup"},{"title":"Blockchain Interactions","href":"/sdk/unreal/wallets/embedded-wallet/blockchain-interactions"},{"group":"Guides","pages":[{"title":"Sign-In with Google \u0026 Apple","href":"/sdk/unreal/wallets/embedded-wallet/guides/social-signin-guide"},{"title":"Sign-In with Epic Games","href":"/sdk/unreal/wallets/embedded-wallet/guides/epic-auth-guide"},{"title":"Marketplace Quickstart","href":"/sdk/unreal/wallets/embedded-wallet/guides/marketplace-guide"},{"title":"Swaps Quickstart","href":"/sdk/unreal/wallets/embedded-wallet/guides/swaps-guide"}]},{"group":"Onboarding","pages":[{"title":"Authenticating Users","href":"/sdk/unreal/wallets/embedded-wallet/onboarding/authentication"},{"title":"Manage Sessions","href":"/sdk/unreal/wallets/embedded-wallet/onboarding/manage_sessions"},{"title":"Connecting External Wallets","href":"/sdk/unreal/wallets/embedded-wallet/onboarding/wallet_linking"}]}]}]},{"group":"Indexer","pages":[{"title":"Read From Blockchain","href":"/sdk/unreal/indexer/read-from-blockchain"}]},{"group":"Monetization","pages":[{"title":"Secondary Sales Marketplace","href":"/sdk/unreal/monetization/secondary-sales-marketplace"},{"title":"Checkout","href":"/sdk/unreal/monetization/checkout"},{"title":"Unreal Currency Swaps","href":"/sdk/unreal/monetization/currency-swaps"},{"title":"Onboard User Funds","href":"/sdk/unreal/monetization/onboard-user-funds"}]},{"group":"Advanced","pages":[{"title":"Smart Contracts","href":"/sdk/unreal/advanced/smart-contracts"},{"title":"Utilities","href":"/sdk/unreal/advanced/utilities"},{"title":"Advanced Blockchain Interactions","href":"/sdk/unreal/advanced/advanced"},{"title":"Packaging","sidebarTitle":"Platform Requirements","href":"/sdk/unreal/advanced/platforms"},{"title":"Migrate from a previous Major Version","sidebarTitle":"Version Migration","href":"/sdk/unreal/advanced/migration"}]}]}]},{"group":"Mobile","pages":[{"title":"Mobile SDK for Embedded Wallet (React Native)","sidebarTitle":"React Native","href":"/sdk/mobile"}]},{"group":"Other SDKs","pages":[{"group":"Typescript","pages":[{"title":"Overview","href":"/sdk/typescript/overview"},{"group":"Backend Integration","pages":[{"title":"Connect and send transactions","href":"/sdk/typescript/guides/backend/integration"}]},{"group":"Frontend Integration","pages":[{"title":"Headless Wallet Quickstart","sidebarTitle":"Quickstart","href":"/sdk/headless-wallet/quickstart"},{"title":"Initialization and Authentication","sidebarTitle":"Authentication","href":"/sdk/headless-wallet/authentication"},{"title":"Using your Embedded Wallet","sidebarTitle":"Use Wallets","href":"/sdk/headless-wallet/use-wallets"},{"title":"Embedded Wallet Account Federation","sidebarTitle":"Multi-account Support","href":"/sdk/headless-wallet/account-federation"},{"title":"Headless Wallet Session Management — Sequence Docs","sidebarTitle":"Manage Sessions","href":"/sdk/headless-wallet/manage-sessions"},{"title":"On-ramp","sidebarTitle":"On-ramp","href":"/sdk/headless-wallet/on-ramp"},{"title":"Fee Options","sidebarTitle":"Fee Options","href":"/sdk/headless-wallet/fee-options"},{"title":"Headless Wallet Verification","sidebarTitle":"Backend Verification","href":"/sdk/headless-wallet/verification"},{"title":"Transaction receipts","sidebarTitle":"Transaction receipts","href":"/sdk/headless-wallet/transaction-receipts"},{"title":"Privy \u0026 Sequence","href":"/sdk/headless-wallet/use-with-privy"}]}]},{"group":"Go","pages":[{"title":"Overview","href":"/sdk/go/overview"}]}]}]},{"tab":"APIs","pages":[{"title":"APIs","href":"/api-references/overview"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/guides/guide-overview"}]},{"tab":"Support","pages":[{"title":"Support","href":"/support"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/sdk/web/checkout-sdk/hooks/useAddFundsModal"}]},{"language":"es","pages":[{"title":"es","href":"/es/sdk/web/checkout-sdk/hooks/useAddFundsModal"}]}]},"basePath":"","title":"useAddFundsModal - Sequence Docs","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":[],"chunks":[]}