Creates a new wallet with the specified Ark server and chain source configuration. Fails if a wallet already exists. Returns the wallet fingerprint on success.
The Ark server to use for the wallet.
Optional when a config.toml already exists in the datadir or when
the network has a default Ark server (mainnet and signet).
The chain source to use for the wallet.
Optional when a config.toml already exists in the datadir or when
the network has a default chain source (mainnet, signet and
mutinynet).
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Second Docs","colors":{"primary":"#060606","light":"#ffffff","dark":"#060606"},"logo":{"light":"https://mintcdn.com/second-0659a37d/92YUTFvK58wCxpgQ/images/second_logo_dark.svg?fit=max\u0026auto=format\u0026n=92YUTFvK58wCxpgQ\u0026q=85\u0026s=9d392517d5260474f0784083ce6f77bd","dark":"https://mintcdn.com/second-0659a37d/92YUTFvK58wCxpgQ/images/second_logo_white.svg?fit=max\u0026auto=format\u0026n=92YUTFvK58wCxpgQ\u0026q=85\u0026s=fef43cab4ec3fec5d2e42df265e28538"},"favicon":"https://mintcdn.com/second-0659a37d/8VZedF7eKiQd6Pfy/images/favicon.png?fit=max\u0026auto=format\u0026n=8VZedF7eKiQd6Pfy\u0026q=85\u0026s=2a570937017174600743608577deb308","api":{"playground":{"display":"simple"}},"appearance":{"default":"system"},"navbar":{"links":[{"href":"https://community.second.tech","label":"Forum"},{"href":"https://chat.second.tech","label":"Chat"}]},"footer":{"socials":{"youtube":"https://www.youtube.com/@secondhq","linkedin":"https://www.linkedin.com/company/2ndhq","x":"https://x.com/secondhq"},"links":[{"header":"Company","items":[{"label":"About","href":"https://second.tech/about"},{"label":"Blog","href":"https://second.tech/blog"},{"label":"Careers","href":"https://bitcoinerjobs.com/company/second"}]},{"header":"Developer","items":[{"label":"GitLab","href":"https://gitlab.com/ark-bitcoin/bark"},{"label":"Community forum","href":"https://community.second.tech"},{"label":"Community chat","href":"https://chat.second.tech"},{"label":"Labs","href":"https://labs.second.tech"},{"label":"Signet faucet","href":"https://signet.2nd.dev/"},{"label":"Test store","href":"https://signet.2nd.dev/store"}]}]},"seo":{"metatags":{"canonical":"https://second.tech/docs"}},"fonts":{"family":"DM Sans"},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":false},"integrations":{"plausible":{"domain":"second.tech/docs"}},"contextual":{"options":["copy","view","mcp","cursor","claude"],"display":"header"},"thumbnails":{"appearance":"dark","fonts":{"family":"DM Sans"}},"variables":{"versionReleaseTag":"bark-0.8.1","versionBark":"0.8.1","arkServerSignet":"https://ark.signet.2nd.dev","esploraSignet":"https://esplora.signet.2nd.dev","arkServerMainnet":"https://ark.second.tech","esploraMainnetUrl":"https://mempool.second.tech/api"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"second-0659a37d","hasAudioNarration":false,"actualSubdomain":"second-0659a37d","customDomains":["second.tech"],"gitSource":{"type":"gitlab","owner":"ark-bitcoin","repo":"docs","projectId":78167504,"deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae98fdd0dc419d0ef39464b","collectionId":"0675799d-9d9d-463d-8784-f75c8bb08339","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae98fdd0dc419d0ef39464b"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aedb3206048afba01a30e5c","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Barkd","count":81},{"language":"default","tag":"REST API","count":76},{"language":"default","tag":"Apps","count":37},{"language":"default","tag":"wallet","count":29},{"language":"default","tag":"Learn","count":28},{"language":"default","tag":"Bark Wallet","count":22},{"language":"default","tag":"BTCPay Server plugin","count":20},{"language":"default","tag":"Bark Pay","count":18},{"language":"default","tag":"exits","count":15},{"language":"default","tag":"Docs","count":14}]},"assistantConfig":{"deflection":{"enabled":true,"email":"hello@second.tech","showHelpButton":true}},"basePath":"/docs","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":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--second-black: #060606;--second-white: #ffffff;--second-body: #242424;--second-light-grey: #f5f5f5;--second-muted: #b2b2b2;--second-blue: #3d8afb;--second-yellow: #f6d032;--second-red: #fa1336;--second-green: #43b929;--second-orange: #f4931b;--second-purple: #6f2dbd;--second-border: #e5e7eb;--second-border-dark: #1e1e1e;--second-hover-tint: rgba(128, 128, 128, 0.12);--second-hover-tint-subtle: rgba(128, 128, 128, 0.06);--second-code-bg: rgba(128, 128, 128, 0.14);--second-code-bg-dark: rgba(128, 128, 128, 0.24);--second-video-progress-height: 4px;--second-video-progress-gap: 8px}:root.dark{--second-border: var(--second-border-dark);--second-code-bg: var(--second-code-bg-dark);--second-hover-tint-subtle: rgba(128, 128, 128, 0.18)}body{background:var(--second-white)!important}.dark body{background:var(--second-black)!important}.almond-layout{padding:0!important;background:var(--second-white);min-height:100vh}.almond-layout>div:first-child{padding-left:0}.almond-layout>div:last-child{border-radius:0;height:calc(100dvh - 3.5rem)!important}#content-container{border-radius:0;border:none;border-left:1px solid var(--second-border)}#content-container:only-child{border-radius:0}.dark .almond-layout,.dark #content-container,.dark #content-area{background:var(--second-black)}.mdx-content hr{border-color:var(--second-border)!important}#page-title{letter-spacing:-0.01em;color:var(--second-black)!important}.mdx-content h1,.mdx-content h2,.mdx-content h3,.mdx-content h4,.mdx-content h5,.mdx-content h6{font-weight:700;color:var(--second-black)!important}.dark .eyebrow{color:var(--second-white)!important}.dark #page-title,.dark .mdx-content h1,.dark .mdx-content h2,.dark .mdx-content h3,.dark .mdx-content h4,.dark .mdx-content h5,.dark .mdx-content h6{color:var(--second-white)!important}body :not(pre)>code{padding-left:0.1875rem;padding-right:0.1875rem;background-color:var(--second-code-bg)}.dark body :not(pre)>code{background-color:var(--second-code-bg)}.mdx-content a{font-weight:400!important;color:var(--second-black)!important}.mdx-content a:hover{color:var(--second-black)!important}.mdx-content strong a{font-weight:inherit!important}.dark .mdx-content a{color:var(--second-white)!important}.dark .mdx-content a.link{border-bottom-color:var(--second-white)!important}.dark .mdx-content a:hover{color:var(--second-white)!important}.nav-logo{height:1.8rem}#navbar{background:var(--second-white);border-bottom:1px solid var(--second-border)}#navbar [class*=\"text-shadow\"]{text-shadow:none;font-weight:700}.dark #navbar{background:var(--second-black);border-bottom-color:var(--second-border)}.dark #navbar a{color:rgba(255, 255, 255, 0.7)!important}.dark #navbar a:hover{color:var(--second-white)!important}.dark #navbar [class*=\"text-shadow\"]{color:var(--second-white)!important}html[data-current-path^=\"/bark-sdk\"] #navbar [class*=\"text-shadow\"],html[data-current-path^=\"/barkd\"] #navbar [class*=\"text-shadow\"]{font-weight:500}html[data-current-path^=\"/bark-sdk\"] #navbar a[href=\"/bark-sdk\"],html[data-current-path^=\"/barkd\"] #navbar a[href=\"/barkd\"]{font-weight:700}#navbar a[target=\"_blank\"]::after{content:\"↗\";font-size:0.85em;margin-left:-0.1em;font-weight:300}div:has(>a.nav-dropdown-item){min-width:20rem;padding:0;background:var(--second-white);border:1px solid var(--second-border);border-radius:0.75rem}.dark div:has(>a.nav-dropdown-item){background:var(--second-black)}a.nav-dropdown-item{display:flex;align-items:flex-start;gap:0.875rem;padding:0.875rem 1rem;border-radius:calc(0.75rem - 1px)}a.nav-dropdown-item:hover{background:var(--second-hover-tint-subtle)!important}a.nav-dropdown-item>img{width:1.25rem;height:1.25rem;margin-top:0.3125rem;filter:grayscale(1);opacity:0.85}.dark a.nav-dropdown-item>img{filter:grayscale(1) invert(1)}a.nav-dropdown-item span:first-child{color:var(--second-body);font-weight:600;margin-bottom:0.1875rem}.dark a.nav-dropdown-item span:first-child{color:var(--second-white)}a.nav-dropdown-item span:last-child{font-size:0.8125rem;line-height:1.45}#sidebar-content{background:var(--second-white);padding-top:1.25rem}.dark #sidebar-content,.dark #search-bar-entry,.dark #search-bar-entry-mobile{background:var(--second-black)!important}.sidebar-group-header{font-weight:700;color:var(--second-black)!important}.dark .sidebar-group-header{color:var(--second-white)!important}#sidebar-content a,#sidebar-content li>button{color:var(--second-black)!important}#sidebar-content a:hover{background-color:var(--second-hover-tint-subtle)!important}.dark #sidebar-content a,.dark #sidebar-content li>button{color:var(--second-white)!important}.dark #sidebar-content a img{filter:invert(1)}#sidebar-content [class*=\"text-primary\"],#sidebar-content [class*=\"text-shadow\"],#sidebar-content [class*=\"text-shadow\"] a{text-shadow:none;font-weight:700;color:var(--second-black)!important}.dark #sidebar-content [class*=\"text-primary\"],.dark #sidebar-content [class*=\"text-shadow\"],.dark #sidebar-content [class*=\"text-shadow\"] a{color:var(--second-white)!important}#sidebar-content [class*=\"border-primary\"]{border-color:var(--second-black)!important}.dark #sidebar-content [class*=\"border-primary\"]{border-color:var(--second-white)!important}#sidebar-content [class*=\"bg-primary\"]{background-color:var(--second-light-grey)!important}.dark #sidebar-content [class*=\"bg-primary\"]{background-color:var(--second-border-dark)!important}#sidebar-content a:has(.method-nav-pill){padding-left:1rem!important}.toc-item[data-active]>a{text-shadow:none!important;font-weight:700}.dark .toc-item[data-active]>a{color:var(--second-white)!important;border-color:var(--second-white)!important}.dark [data-component-part=\"tab-button\"][data-active=\"true\"]{color:var(--second-white)!important}[data-component-part=\"step-number\"]>div{background:var(--second-light-grey)!important;border:none!important}.dark [data-component-part=\"step-number\"]>div{background:rgba(255, 255, 255, 0.1)!important;border:none!important}[data-component-part=\"step-line\"]{background-color:var(--second-border)!important;background-image:none!important}.step:last-child [data-component-part=\"step-line\"]{background-color:transparent!important;background-image:linear-gradient(to bottom, var(--second-border), transparent)!important}.frame{background:var(--second-white)!important}.dark .frame{background:var(--second-black)!important}.frame [class*=\"bg-grid\"]{display:none!important}.video-progress{height:var(--second-video-progress-height);margin-top:var(--second-video-progress-gap);border-radius:9999px;background:var(--second-border);overflow:hidden}.video-progress-fill{height:100%;background:var(--second-black);transform:scaleX(0);transform-origin:left;will-change:transform}.dark .video-progress-fill{background:var(--second-white)}.dark img[src^=\"/images/bark-wallet/\"][src$=\"-logo.svg\"],.dark img[src^=\"/images/built-with-bark/\"][src$=\"-logo.svg\"]{filter:invert(1)}[data-table-wrapper=\"true\"],.code-block-background{scrollbar-width:thin!important}.callout [data-component-part=\"callout-content\"]{color:var(--second-body)!important}.dark .callout [data-component-part=\"callout-content\"]{color:rgba(255, 255, 255, 0.9)!important}.callout[class*=\"bg-blue-50\"]{background-color:rgba(246, 208, 50, 0.1)!important;border-color:var(--second-yellow)!important}.callout[class*=\"bg-blue-50\"] [data-component-part=\"callout-icon\"] svg{color:var(--second-yellow)!important}.dark .callout[class*=\"bg-blue-50\"]{background-color:rgba(246, 208, 50, 0.07)!important;border-color:rgba(246, 208, 50, 0.7)!important}.dark .callout[class*=\"bg-blue-50\"] [data-component-part=\"callout-icon\"] svg{color:rgba(246, 208, 50, 0.7)!important}.callout[class*=\"bg-green-50\"]{background-color:rgba(61, 138, 251, 0.1)!important;border-color:var(--second-blue)!important}.callout[class*=\"bg-green-50\"] [data-component-part=\"callout-icon\"] svg{color:var(--second-blue)!important}.dark .callout[class*=\"bg-green-50\"]{background-color:rgba(61, 138, 251, 0.06)!important;border-color:rgba(61, 138, 251, 0.6)!important}.dark .callout[class*=\"bg-green-50\"] [data-component-part=\"callout-icon\"] svg{color:rgba(61, 138, 251, 0.6)!important}.callout[class*=\"bg-yellow-50\"]{background-color:rgba(250, 19, 54, 0.1)!important;border-color:var(--second-red)!important}.callout[class*=\"bg-yellow-50\"] [data-component-part=\"callout-icon\"] svg{color:var(--second-red)!important}.dark .callout[class*=\"bg-yellow-50\"]{background-color:rgba(250, 19, 54, 0.07)!important;border-color:rgba(250, 19, 54, 0.7)!important}.dark .callout[class*=\"bg-yellow-50\"] [data-component-part=\"callout-icon\"] svg{color:rgba(250, 19, 54, 0.7)!important}.code-block-background,[data-component-part=\"code-block-root\"],[data-component-part=\"code-block-root\"] pre.shiki{background-color:transparent!important;--shiki-light-bg: transparent !important}.dark .code-block-background,.dark [data-component-part=\"code-block-root\"],.dark [data-component-part=\"code-block-root\"] pre.shiki{background-color:transparent!important;--shiki-dark-bg: transparent !important}.code-group,.dark .code-group{background:transparent!important}[data-fade-overlay=\"true\"]{display:none!important}.dark .border-standard,.dark .code-group{border-color:var(--second-border-dark)!important}#content-side-layout .code-group,[id^=\"api-playground\"] .code-group,.dark #content-side-layout .code-group,.dark [id^=\"api-playground\"] .code-group{background:rgba(128, 128, 128, 0.1)!important;border-color:transparent!important}[id^=\"api-playground\"] .border-standard,.dark [id^=\"api-playground\"] .border-standard{border-color:transparent!important}.dark .border-standard{background:var(--second-black)!important}.dark .code-group .code-block-background,.dark .code-group [data-component-part=\"code-block-root\"]{background-color:var(--second-black)!important;--shiki-dark-bg: var(--second-black) !important}.code-group [data-component-part=\"code-group-tab-bar\"] button[aria-haspopup=\"menu\"]>div{color:var(--second-black)!important}.dark .code-group [data-component-part=\"code-group-tab-bar\"] button[aria-haspopup=\"menu\"]>div{color:var(--second-white)!important}.code-group [data-component-part=\"code-group-tab-bar\"] button[aria-haspopup=\"menu\"]>div:hover{background:var(--second-hover-tint)!important}.code-group [data-component-part=\"code-group-tab-bar\"] button[aria-haspopup=\"menu\"][data-state=\"open\"]>div{border-color:var(--second-black)!important}[role=\"menu\"][data-radix-menu-content]:not(:has(a.nav-dropdown-item)){background:#f3f3f3!important;border-color:var(--second-border)!important}.dark [role=\"menu\"][data-radix-menu-content]:not(:has(a.nav-dropdown-item)){background:#0b0b0b!important}[role=\"menu\"][data-radix-menu-content]:not(:has(a.nav-dropdown-item)) [role=\"menuitem\"]:hover,[role=\"menu\"][data-radix-menu-content]:not(:has(a.nav-dropdown-item)) [role=\"menuitem\"][data-highlighted]{background:var(--second-hover-tint)!important}.dark [role=\"menu\"][data-radix-menu-content] [role=\"menuitem\"]:not([class*=\"text-gray-500\"]),.dark [role=\"menu\"][data-radix-menu-content] [role=\"menuitem\"]:hover,.dark [role=\"menu\"][data-radix-menu-content] [role=\"menuitem\"][data-highlighted]{color:var(--second-white)!important}.dark .code-group button:hover .peer\\/title,.dark .code-group button[data-state=\"active\"] .peer\\/title{color:var(--second-white)!important}.dark .code-group button[data-state=\"active\"] .peer\\/title+div{background:var(--second-white)!important}.code-group [data-testid=\"copy-code-button\"]{border-radius:10px!important;padding:5px!important}.code-group [data-testid=\"copy-code-button\"] svg{color:var(--second-black)!important}.code-group [data-testid=\"copy-code-button\"]:hover{background:var(--second-hover-tint)!important}.dark .code-group [data-testid=\"copy-code-button\"] svg{color:var(--second-white)!important}.method-pill[class*=\"bg-blue\"],.method-nav-pill span[class*=\"bg-blue\"]{color:var(--second-blue)!important;background:rgba(61, 138, 251, 0.15)!important}.method-nav-pill .bg-\\[\\#3064E3\\]{color:var(--second-white)!important;background:var(--second-blue)!important}.dark .method-nav-pill .bg-\\[\\#3064E3\\]{color:var(--second-black)!important}.method-pill[class*=\"bg-green\"],.method-nav-pill span[class*=\"bg-green\"]{color:var(--second-green)!important;background:rgba(67, 185, 41, 0.15)!important}.method-nav-pill .bg-\\[\\#2AB673\\]{color:var(--second-white)!important;background:var(--second-green)!important}.dark .method-nav-pill .bg-\\[\\#2AB673\\]{color:var(--second-black)!important}.bg-\\[\\#FDEAD8\\]{color:var(--second-orange)!important;background:rgba(244, 147, 27, 0.15)!important}[data-component-part=\"field-name\"]{color:var(--second-black)!important}.dark [data-component-part=\"field-name\"]{color:var(--second-white)!important}[data-component-part=\"field-info-pill\"]{color:var(--second-black)!important}.dark [data-component-part=\"field-info-pill\"]{color:var(--second-white)!important}[data-component-part=\"field-required-pill\"]{color:var(--second-red)!important;background:rgba(250, 19, 54, 0.1)!important}.dark mark,.dark mark b{color:var(--second-white)!important;background-color:transparent!important}.dark [role=\"dialog\"] svg{color:rgba(255, 255, 255, 0.5)!important}[data-component-part=\"update-label\"]{background:var(--second-light-grey)!important;color:var(--second-black)!important}.dark [data-component-part=\"update-label\"]{background:rgba(255, 255, 255, 0.1)!important;color:var(--second-white)!important}[data-component-part=\"update-content\"]>:first-child{margin-top:0!important}[data-component-part=\"update-content\"]>span[data-rmiz]:first-child img,[data-component-part=\"update-content\"]>img:first-child{margin-top:0!important}[data-component-part=\"update-content\"] h3 svg.icon{vertical-align:-0.1em!important;margin-right:0.35em}.changelog-key svg.icon{vertical-align:-0.1em!important;margin-right:0.25em}.dark [data-component-part=\"card-icon\"] svg{background-color:var(--second-white)!important}.dark [data-component-part=\"card-icon\"] img{filter:invert(1)}[data-component-part=\"card-icon\"] img[src*=\"go-logo\"]{transform:scale(1.6);transform-origin:left center}[data-component-part=\"card-icon\"]:has(img[src*=\"/images/built-with-bark/\"]){margin-top:6px}.card:hover{border-color:var(--second-black)!important}.dark .card:hover{border-color:var(--second-white)!important}.dark .card:hover .lucide-arrow-up-right{color:var(--second-white)!important}.pagination-next:hover,.pagination-prev:hover{border-color:var(--second-black)!important}.dark .pagination-next:hover,.dark .pagination-prev:hover{border-color:var(--second-white)!important}.showcase-tags{font-family:var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);font-size:0.75rem;color:var(--second-black);margin-top:0.5rem}.dark .showcase-tags{color:var(--second-white)}#footer{background:var(--second-white);border-top:none}.dark #footer{background:var(--second-black)}#footer a{color:var(--second-black)!important;text-decoration:none!important}#footer a:hover{text-decoration:underline!important}.dark #footer a{color:var(--second-white)!important}#footer a[href*=\"mintlify\"]{color:var(--second-border)!important}#footer a[href*=\"mintlify\"] svg path{fill:var(--second-border)!important}#footer a[href*=\"mintlify\"]:hover{text-decoration:none!important}#footer svg[style*=\"mask-image\"]{background-color:var(--second-muted)!important;transition:background-color 0.15s ease}#footer a:hover svg[style*=\"mask-image\"]{background-color:var(--second-black)!important}.dark #footer a:hover svg[style*=\"mask-image\"]{background-color:var(--second-white)!important}#footer [data-testid^=\"mode-switch-\"]{color:var(--second-muted)!important}#footer [data-testid^=\"mode-switch-\"]:hover{color:var(--second-black)!important}.dark #footer [data-testid^=\"mode-switch-\"]:hover{color:var(--second-white)!important}#footer [data-testid^=\"mode-switch-\"][class*=\"bg-gray-200\"]{background-color:rgba(222, 222, 222, 0.5)!important}.dark #footer [data-testid^=\"mode-switch-\"][class*=\"bg-gray-800\"]{background-color:rgb(22, 23, 23)!important}.chat-assistant-floating-input::before{display:none!important}@media (max-width: 767px){div:has(>.chat-assistant-floating-input){bottom:3.5rem!important}}"}],"page":{"pagePath":"barkd/api-reference/wallet/create-a-wallet","slug":"/barkd/api-reference/wallet/create-a-wallet","pageMetadata":{"title":"Create a wallet","description":"Creates a new wallet with the specified Ark server and chain source configuration. Fails if a wallet already exists. Returns the wallet fingerprint on success.","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/create","href":"/barkd/api-reference/wallet/create-a-wallet","autogeneratedByOpenApi":true},"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: \"Creates a new wallet with the specified Ark server and chain source configuration. Fails if a wallet already exists. Returns the wallet fingerprint on success.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"Create a wallet","description":"Creates a new wallet with the specified Ark server and chain source configuration. Fails if a wallet already exists. Returns the wallet fingerprint on success.","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/create","href":"/barkd/api-reference/wallet/create-a-wallet","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/second-0659a37d/ed0636a846cd3bb8/video-progress.js"],"openApiReferenceData":{"operation":{"tags":["wallet"],"summary":"Create a wallet","description":"Creates a new wallet with the specified Ark server and chain source configuration. Fails if a wallet already exists. Returns the wallet fingerprint on success.","operationId":"create_wallet","requestBody":"d46a5cf2-4ec4-49ab-9f7d-410a1e6c87a0","responses":{"200":"a3a04d36-8a4c-4056-93c5-c1b467b54607","500":"12d3c910-e222-4088-9456-d4f2373f93d4"},"method":"post","type":"path","servers":[],"security":["01ed495c-e1a8-409d-949c-302653d69961"],"path":"/api/v1/wallet/create","baseUrlOptions":[],"title":"Create a wallet","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["network"],"properties":{"network":{"type":"string","description":"The network to use for the wallet","enum":["mainnet","signet","mutinynet","regtest"],"isRequired":true,"uniqueKey":"network","typeLabel":"enum\u003cstring>"},"ark_server":{"oneOf":[{"type":"string","description":"The Ark server to use for the wallet.\nOptional when a config.toml already exists in the datadir or when\nthe network has a default Ark server (mainnet and signet).","uniqueKey":"ark_server.oneOf.0","typeLabel":"string"},{"type":"null","description":"The Ark server to use for the wallet.\nOptional when a config.toml already exists in the datadir or when\nthe network has a default Ark server (mainnet and signet).","uniqueKey":"ark_server.oneOf.1","typeLabel":"null"}],"uniqueKey":"ark_server","typeLabel":"string | null"},"ark_server_access_token":{"oneOf":[{"type":"string","description":"An access token for a private Ark server.\n\n**Deprecated**: access tokens are no longer enforced by the server;\nthis field will be removed in a future release.","deprecated":true,"uniqueKey":"ark_server_access_token.oneOf.0","typeLabel":"string"},{"type":"null","description":"An access token for a private Ark server.\n\n**Deprecated**: access tokens are no longer enforced by the server;\nthis field will be removed in a future release.","deprecated":true,"uniqueKey":"ark_server_access_token.oneOf.1","typeLabel":"null"}],"uniqueKey":"ark_server_access_token","typeLabel":"string | null"},"birthday_height":{"oneOf":[{"type":"integer","format":"int32","description":"An optional birthday height to start syncing the wallet from","minimum":0,"uniqueKey":"birthday_height.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"An optional birthday height to start syncing the wallet from","minimum":0,"uniqueKey":"birthday_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"birthday_height","typeLabel":"integer\u003cint32> | null"},"chain_source":{"oneOf":[{"type":"object","description":"The chain source to use for the wallet.\nOptional when a config.toml already exists in the datadir or when\nthe network has a default chain source (mainnet, signet and\nmutinynet).","required":["bitcoind"],"properties":{"bitcoind":{"type":"object","description":"Use a bitcoind RPC server","required":["bitcoind","bitcoind_auth"],"properties":{"bitcoind":{"type":"string","isRequired":true,"uniqueKey":"chain_source.oneOf.0.bitcoind.bitcoind","typeLabel":"string"},"bitcoind_auth":{"oneOf":[{"type":"object","description":"Use a cookie file for authentication","required":["cookie"],"properties":{"cookie":{"type":"object","description":"Use a cookie file for authentication","required":["cookie"],"properties":{"cookie":{"type":"string","isRequired":true,"uniqueKey":"chain_source.oneOf.0.bitcoind.bitcoind_auth.oneOf.0.cookie.cookie","typeLabel":"string"}},"isRequired":true,"uniqueKey":"chain_source.oneOf.0.bitcoind.bitcoind_auth.oneOf.0.cookie","typeLabel":"object"}},"isRequired":true,"uniqueKey":"chain_source.oneOf.0.bitcoind.bitcoind_auth.oneOf.0","typeLabel":"object"},{"type":"object","description":"Use a username and password for authentication","required":["user-pass"],"properties":{"user-pass":{"type":"object","description":"Use a username and password for authentication","required":["user","pass"],"properties":{"pass":{"type":"string","isRequired":true,"uniqueKey":"chain_source.oneOf.0.bitcoind.bitcoind_auth.oneOf.1.user-pass.pass","typeLabel":"string"},"user":{"type":"string","isRequired":true,"uniqueKey":"chain_source.oneOf.0.bitcoind.bitcoind_auth.oneOf.1.user-pass.user","typeLabel":"string"}},"isRequired":true,"uniqueKey":"chain_source.oneOf.0.bitcoind.bitcoind_auth.oneOf.1.user-pass","typeLabel":"object"}},"isRequired":true,"uniqueKey":"chain_source.oneOf.0.bitcoind.bitcoind_auth.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"chain_source.oneOf.0.bitcoind.bitcoind_auth","typeLabel":"object"}},"isRequired":true,"uniqueKey":"chain_source.oneOf.0.bitcoind","typeLabel":"object"}},"uniqueKey":"chain_source.oneOf.0","typeLabel":"object"},{"type":"object","description":"The chain source to use for the wallet.\nOptional when a config.toml already exists in the datadir or when\nthe network has a default chain source (mainnet, signet and\nmutinynet).","required":["esplora"],"properties":{"esplora":{"type":"object","description":"Use an Esplora HTTP server","required":["url"],"properties":{"url":{"type":"string","isRequired":true,"uniqueKey":"chain_source.oneOf.1.esplora.url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"chain_source.oneOf.1.esplora","typeLabel":"object"}},"uniqueKey":"chain_source.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"chain_source.oneOf.2","typeLabel":"null"}],"uniqueKey":"chain_source","typeLabel":"object · object · null"},"force":{"type":"boolean","description":"Proceed even if the datadir contains unexpected files","uniqueKey":"force","typeLabel":"boolean"},"gap_limit":{"oneOf":[{"type":"integer","format":"int32","description":"How many consecutive unused key indices a VTXO key scan may cross before\nit concludes the wallet doesn't own a recovered/imported VTXO.","maximum":100000,"minimum":0,"uniqueKey":"gap_limit.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"How many consecutive unused key indices a VTXO key scan may cross before\nit concludes the wallet doesn't own a recovered/imported VTXO.","maximum":100000,"minimum":0,"uniqueKey":"gap_limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"gap_limit","typeLabel":"integer\u003cint32> | null"},"mnemonic":{"oneOf":[{"type":"string","description":"The optional mnemonic to use for the wallet","uniqueKey":"mnemonic.oneOf.0","typeLabel":"string"},{"type":"null","description":"The optional mnemonic to use for the wallet","uniqueKey":"mnemonic.oneOf.1","typeLabel":"null"}],"uniqueKey":"mnemonic","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ark_server":"\u003cstring>","ark_server_access_token":"\u003cstring>","birthday_height":1,"chain_source":{"bitcoind":{"bitcoind":"\u003cstring>","bitcoind_auth":{"cookie":{"cookie":"\u003cstring>"}}}},"force":true,"gap_limit":50000,"mnemonic":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"a3a04d36-8a4c-4056-93c5-c1b467b54607":{"description":"Wallet created successfully","content":{"application/json":{"schema":{"type":"object","required":["fingerprint"],"properties":{"fingerprint":{"type":"string","isRequired":true,"uniqueKey":"fingerprint","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"fingerprint":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"12d3c910-e222-4088-9456-d4f2373f93d4":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"01ed495c-e1a8-409d-949c-302653d69961":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"AuthToken","description":"Base64url-encoded auth token","scopes":[],"schemeName":"bearer"}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"AuthToken","description":"Base64url-encoded auth token","scopes":[],"schemeName":"bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Base64url-encoded auth token","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json"},"subdomain":"second-0659a37d","siteName":"Second Docs","title":"Create a wallet - Second Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T10:59:50.411Z","originalFileLocation":"barkd/api-reference/wallet/create-a-wallet.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=\"Creates a new wallet with the specified Ark server and chain source configuration. Fails if a wallet already exists. Returns the wallet fingerprint on success.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Second 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/second-0659a37d/R0dyIm4bMdcQUJx_/_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/second-0659a37d/R0dyIm4bMdcQUJx_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/second-0659a37d/R0dyIm4bMdcQUJx_/_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/second-0659a37d/R0dyIm4bMdcQUJx_/_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/second-0659a37d/R0dyIm4bMdcQUJx_/_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/second-0659a37d/R0dyIm4bMdcQUJx_/_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/second-0659a37d/R0dyIm4bMdcQUJx_/_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/second-0659a37d/R0dyIm4bMdcQUJx_/_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/second-0659a37d/R0dyIm4bMdcQUJx_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a wallet - Second Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new wallet with the specified Ark server and chain source configuration. Fails if a wallet already exists. Returns the wallet fingerprint on success.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Second Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://second.tech/docs/barkd/api-reference/wallet/create-a-wallet\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://second-0659a37d.mintlify.site/docs/_mintlify/api/og/v2?division=wallet\u0026amp;title=Create+a+wallet\u0026amp;description=Creates+a+new+wallet+with+the+specified+Ark+server+and+chain+source+configuration.+Fails+if+a+wallet+already+exists.+Returns+the+wallet+fingerprint+on+success.\u0026amp;theme=f930de34935ea73fe6e61be8\u0026amp;signature=f25766f7352d9652d6a3fdfe35bce7279c361b8fe7d79296041980c6779a1fcf\">\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=\"Create a wallet - Second Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new wallet with the specified Ark server and chain source configuration. Fails if a wallet already exists. Returns the wallet fingerprint on success.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://second-0659a37d.mintlify.site/docs/_mintlify/api/og/v2?division=wallet\u0026amp;title=Create+a+wallet\u0026amp;description=Creates+a+new+wallet+with+the+specified+Ark+server+and+chain+source+configuration.+Fails+if+a+wallet+already+exists.+Returns+the+wallet+fingerprint+on+success.\u0026amp;theme=f930de34935ea73fe6e61be8\u0026amp;signature=f25766f7352d9652d6a3fdfe35bce7279c361b8fe7d79296041980c6779a1fcf\">\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/second-0659a37d/R0dyIm4bMdcQUJx_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Second Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#060606\">\u003clink data-mint-head rel=\"canonical\" href=\"https://second.tech/docs/barkd/api-reference/wallet/create-a-wallet\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/barkd/api-reference/wallet/create-a-wallet.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://second.tech/#organization\",\"name\":\"Second Docs\",\"url\":\"https://second.tech\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/second-0659a37d/92YUTFvK58wCxpgQ/images/second_logo_dark.svg?fit=max\u0026auto=format\u0026n=92YUTFvK58wCxpgQ\u0026q=85\u0026s=9d392517d5260474f0784083ce6f77bd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://second.tech/docs#website\",\"name\":\"Second Docs\",\"url\":\"https://second.tech/docs\",\"publisher\":{\"@id\":\"https://second.tech/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://second.tech/docs/barkd/api-reference/wallet/create-a-wallet#webpage\",\"url\":\"https://second.tech/docs/barkd/api-reference/wallet/create-a-wallet\",\"name\":\"Create a wallet\",\"description\":\"Creates a new wallet with the specified Ark server and chain source configuration. Fails if a wallet already exists. Returns the wallet fingerprint on success.\",\"dateModified\":\"2026-11-06T10:59:50.411Z\",\"isPartOf\":{\"@id\":\"https://second.tech/docs#website\"},\"breadcrumb\":{\"@id\":\"https://second.tech/docs/barkd/api-reference/wallet/create-a-wallet#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://second.tech/docs/barkd/api-reference/wallet/create-a-wallet#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Barkd\",\"item\":\"https://second.tech/docs/barkd/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"REST API\",\"item\":\"https://second.tech/docs/barkd/api-reference/bitcoin/get-bitcoin-tip-height\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"wallet\",\"item\":\"https://second.tech/docs/barkd/api-reference/wallet/get-apiv1wallet\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Create a wallet\",\"item\":\"https://second.tech/docs/barkd/api-reference/wallet/create-a-wallet\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://second.tech/docs/barkd/api-reference/wallet/create-a-wallet#apireference\",\"headline\":\"Create a wallet\",\"name\":\"Create a wallet\",\"description\":\"Creates a new wallet with the specified Ark server and chain source configuration. Fails if a wallet already exists. Returns the wallet fingerprint on success.\",\"url\":\"https://second.tech/docs/barkd/api-reference/wallet/create-a-wallet\",\"mainEntityOfPage\":{\"@id\":\"https://second.tech/docs/barkd/api-reference/wallet/create-a-wallet#webpage\"},\"dateModified\":\"2026-11-06T10:59:50.411Z\",\"publisher\":{\"@id\":\"https://second.tech/#organization\"},\"isPartOf\":{\"@id\":\"https://second.tech/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Second Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Second Docs","nav":{"global":null,"tabs":[{"tab":"Docs","groups":[{"group":"Documentation","pages":[{"title":"Add bitcoin payments to your app with Bark","sidebarTitle":"Welcome","href":""},{"group":"Quickstart guide","pages":[{"title":"Install Bark CLI","href":"/getting-started/bark-cli/index"},{"title":"Test on signet","href":"/getting-started/bark-cli/signet"},{"title":"Test on mainnet","href":"/getting-started/bark-cli/mainnet"},{"title":"Configure Bark","href":"/getting-started/bark-cli/configuration"},{"title":"Advanced Bark features","href":"/getting-started/bark-cli/advanced"}]},{"title":"Connection details","href":"/connection-details"},{"title":"Backups","href":"/backups"},{"title":"Built with Bark","href":"/built-with-bark"},{"title":"MCP server for agents","sidebarTitle":"MCP","href":"/agents"}]},{"group":"Bark SDK","pages":[{"title":"Bark SDK","sidebarTitle":"Overview","href":"/bark-sdk/index"},{"title":"Get started with Rust","sidebarTitle":"Rust","href":"/bark-sdk/rust"},{"title":"Get started with TypeScript for web apps","sidebarTitle":"TypeScript - Web","href":"/bark-sdk/wasm"},{"title":"Get started with TypeScript for React Native","sidebarTitle":"TypeScript - React Native","href":"/bark-sdk/react-native"},{"title":"Get started with Dart","sidebarTitle":"Dart","href":"/bark-sdk/dart"},{"title":"Get started with Swift","sidebarTitle":"Swift","href":"/bark-sdk/swift"},{"title":"Get started with Kotlin","sidebarTitle":"Kotlin","href":"/bark-sdk/kotlin"},{"title":"Get started with Go","sidebarTitle":"Go","href":"/bark-sdk/go"}]},{"group":"Barkd","pages":[{"title":"Barkd","sidebarTitle":"Overview","href":"/barkd/index"},{"title":"Install Barkd","href":"/barkd/install"},{"title":"Start the daemon","sidebarTitle":"Start the daemon","href":"/barkd/start"},{"title":"Authenticate","sidebarTitle":"Authenticate","href":"/barkd/authenticate"},{"title":"Clients","sidebarTitle":"Clients","href":"/barkd/clients"},{"group":"REST API","pages":[{"group":"bitcoin","pages":[{"title":"Get bitcoin tip height","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/bitcoin/tip","href":"/barkd/api-reference/bitcoin/get-bitcoin-tip-height"}]},{"group":"boards","pages":[{"title":"Board all on-chain bitcoin","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/boards/board-all","href":"/barkd/api-reference/boards/board-all-on-chain-bitcoin"},{"title":"Board a specific amount","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/boards/board-amount","href":"/barkd/api-reference/boards/board-a-specific-amount"},{"title":"List pending boards","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/boards/pending","href":"/barkd/api-reference/boards/list-pending-boards"}]},{"group":"exits","pages":[{"title":"Cancel an exit","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/cancel/{vtxo_id}","href":"/barkd/api-reference/exits/cancel-an-exit"},{"title":"Claim all exited VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/claim/all","href":"/barkd/api-reference/exits/claim-all-exited-vtxos"},{"title":"Claim specific exited VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/claim/vtxos","href":"/barkd/api-reference/exits/claim-specific-exited-vtxos"},{"title":"Estimate emergency exit fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/fee","href":"/barkd/api-reference/exits/estimate-emergency-exit-fee"},{"title":"Presign emergency exit chains","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/presign","href":"/barkd/api-reference/exits/presign-emergency-exit-chains"},{"title":"Progress exits","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/progress","href":"/barkd/api-reference/exits/progress-exits"},{"title":"List remaining exit transactions","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/remaining","href":"/barkd/api-reference/exits/list-remaining-exit-transactions"},{"title":"Start exit for all VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/start/all","href":"/barkd/api-reference/exits/start-exit-for-all-vtxos"},{"title":"Start exit for specific VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/start/vtxos","href":"/barkd/api-reference/exits/start-exit-for-specific-vtxos"},{"title":"List all exit statuses (deprecated)","deprecated":true,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/status","href":"/barkd/api-reference/exits/list-all-exit-statuses-deprecated"},{"title":"List all exit statuses","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/status/all","href":"/barkd/api-reference/exits/list-all-exit-statuses"},{"title":"List finished exits","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/status/finished","href":"/barkd/api-reference/exits/list-finished-exits"},{"title":"List live exit statuses","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/status/live","href":"/barkd/api-reference/exits/list-live-exit-statuses"},{"title":"Get VTXO exit status","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/status/vtxo/{vtxo_id}","href":"/barkd/api-reference/exits/get-vtxo-exit-status"},{"title":"Get exit status (deprecated)","deprecated":true,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/status/{vtxo_id}","href":"/barkd/api-reference/exits/get-exit-status-deprecated"}]},{"group":"fees","pages":[{"title":"Estimate board fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/fees/board","href":"/barkd/api-reference/fees/estimate-board-fee"},{"title":"Estimate Lightning send fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/fees/lightning/pay","href":"/barkd/api-reference/fees/estimate-lightning-send-fee"},{"title":"Estimate Lightning receive fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/fees/lightning/receive","href":"/barkd/api-reference/fees/estimate-lightning-receive-fee"},{"title":"Estimate offboard fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/fees/offboard","href":"/barkd/api-reference/fees/estimate-offboard-fee"},{"title":"Estimate offboard-all fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/fees/offboard-all","href":"/barkd/api-reference/fees/estimate-offboard-all-fee"},{"title":"Get on-chain fee rates","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/fees/onchain","href":"/barkd/api-reference/fees/get-on-chain-fee-rates"},{"title":"Estimate send-onchain fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/fees/send-onchain","href":"/barkd/api-reference/fees/estimate-send-onchain-fee"}]},{"group":"history","pages":[{"title":"Get wallet history","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/history","href":"/barkd/api-reference/history/get-wallet-history"},{"title":"Patch movement metadata","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/history/{id}/metadata","href":"/barkd/api-reference/history/patch-movement-metadata"}]},{"group":"lightning","pages":[{"title":"Send a Lightning payment","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/lightning/pay","href":"/barkd/api-reference/lightning/send-a-lightning-payment"},{"title":"List all pending receive statuses","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/lightning/receives","href":"/barkd/api-reference/lightning/list-all-pending-receive-statuses"},{"title":"Create a BOLT11 invoice","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/lightning/receives/invoice","href":"/barkd/api-reference/lightning/create-a-bolt11-invoice"},{"title":"Create a BOLT11 invoice for an Ark address","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/lightning/receives/invoice/for-address","href":"/barkd/api-reference/lightning/create-a-bolt11-invoice-for-an-ark-address"},{"title":"Get receive status","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/lightning/receives/{identifier}","href":"/barkd/api-reference/lightning/get-receive-status"},{"title":"Cancel a pending receive","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json delete /api/v1/lightning/receives/{identifier}","href":"/barkd/api-reference/lightning/cancel-a-pending-receive"},{"title":"Get send status","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/lightning/sends/{identifier}","href":"/barkd/api-reference/lightning/get-send-status"}]},{"group":"message","pages":[{"title":"Sign a message","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/message/sign","href":"/barkd/api-reference/message/sign-a-message"},{"title":"Verify a signed message","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/message/verify","href":"/barkd/api-reference/message/verify-a-signed-message"}]},{"group":"notifications","pages":[{"title":"Long-poll for wallet notifications","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/notifications/wait","href":"/barkd/api-reference/notifications/long-poll-for-wallet-notifications"},{"title":"Create a websocket ticket","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/notifications/ws/ticket","href":"/barkd/api-reference/notifications/create-a-websocket-ticket"}]},{"group":"onchain","pages":[{"title":"Generate on-chain address","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/onchain/addresses/next","href":"/barkd/api-reference/onchain/generate-on-chain-address"},{"title":"Get on-chain balance","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/onchain/balance","href":"/barkd/api-reference/onchain/get-on-chain-balance"},{"title":"Drain on-chain wallet","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/onchain/drain","href":"/barkd/api-reference/onchain/drain-on-chain-wallet"},{"title":"Send on-chain payment","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/onchain/send","href":"/barkd/api-reference/onchain/send-on-chain-payment"},{"title":"Send to multiple addresses","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/onchain/send-many","href":"/barkd/api-reference/onchain/send-to-multiple-addresses"},{"title":"Sync on-chain wallet","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/onchain/sync","href":"/barkd/api-reference/onchain/sync-on-chain-wallet"},{"title":"List on-chain transactions","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/onchain/transactions","href":"/barkd/api-reference/onchain/list-on-chain-transactions"},{"title":"List on-chain UTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/onchain/utxos","href":"/barkd/api-reference/onchain/list-on-chain-utxos"}]},{"group":"wallet","pages":[{"title":"Get apiv1wallet","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet","href":"/barkd/api-reference/wallet/get-apiv1wallet"},{"title":"Delete the wallet","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json delete /api/v1/wallet","href":"/barkd/api-reference/wallet/delete-the-wallet"},{"title":"Get Ark address by index","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/addresses/index/{index}","href":"/barkd/api-reference/wallet/get-ark-address-by-index"},{"title":"Generate Ark address","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/addresses/next","href":"/barkd/api-reference/wallet/generate-ark-address"},{"title":"Get Ark server info","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/ark-info","href":"/barkd/api-reference/wallet/get-ark-server-info"},{"title":"Get wallet balance","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/balance","href":"/barkd/api-reference/wallet/get-wallet-balance"},{"title":"Build a BIP 321 payment URI","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/bip321","href":"/barkd/api-reference/wallet/build-a-bip-321-payment-uri"},{"title":"Check server connection","description":"Checks whether the wallet has an active connection to the Ark server. Returns `true` if the wallet can reach the server and retrieve its configuration, `false` otherwise. The background daemon checks the server connection every second, so this reflects the most recent known state.","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/connected","href":"/barkd/api-reference/wallet/check-server-connection"},{"title":"Create a wallet","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/create","href":"/barkd/api-reference/wallet/create-a-wallet"},{"title":"Get wallet debug info","description":"Returns wallet information that helps to debug issues: the bitcoin network, the ID of the wallet's server mailbox and the xpub from which all VTXO keypairs are derived.","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/debug-info","href":"/barkd/api-reference/wallet/get-wallet-debug-info"},{"title":"Get wallet history (deprecated)","deprecated":true,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/history","href":"/barkd/api-reference/wallet/get-wallet-history-deprecated"},{"title":"Import a VTXO","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/import-vtxo","href":"/barkd/api-reference/wallet/import-a-vtxo"},{"title":"Get wallet mnemonic","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/mnemonic","href":"/barkd/api-reference/wallet/get-wallet-mnemonic"},{"title":"List movements (deprecated)","deprecated":true,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/movements","href":"/barkd/api-reference/wallet/list-movements-deprecated"},{"title":"Get next round time","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/next-round","href":"/barkd/api-reference/wallet/get-next-round-time"},{"title":"Offboard all VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/offboard/all","href":"/barkd/api-reference/wallet/offboard-all-vtxos"},{"title":"Offboard specific VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/offboard/vtxos","href":"/barkd/api-reference/wallet/offboard-specific-vtxos"},{"title":"Refresh all VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/refresh/all","href":"/barkd/api-reference/wallet/refresh-all-vtxos"},{"title":"Refresh received VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/refresh/counterparty","href":"/barkd/api-reference/wallet/refresh-received-vtxos"},{"title":"Refresh VTXOs in delegated mode","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/refresh/delegated/vtxos","href":"/barkd/api-reference/wallet/refresh-vtxos-in-delegated-mode"},{"title":"Refresh specific VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/refresh/vtxos","href":"/barkd/api-reference/wallet/refresh-specific-vtxos"},{"title":"List round participations","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/rounds","href":"/barkd/api-reference/wallet/list-round-participations"},{"title":"Send a payment","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/send","href":"/barkd/api-reference/wallet/send-a-payment"},{"title":"Send on-chain from Ark balance","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/send-onchain","href":"/barkd/api-reference/wallet/send-on-chain-from-ark-balance"},{"title":"Sync wallet","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/sync","href":"/barkd/api-reference/wallet/sync-wallet"},{"title":"Sync mailbox only","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/sync/mailbox","href":"/barkd/api-reference/wallet/sync-mailbox-only"},{"title":"List VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/vtxos","href":"/barkd/api-reference/wallet/list-vtxos"},{"title":"Get VTXO detail","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/vtxos/{id}","href":"/barkd/api-reference/wallet/get-vtxo-detail"},{"title":"Get encoded VTXO","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/vtxos/{id}/encoded","href":"/barkd/api-reference/wallet/get-encoded-vtxo"}]},{"group":"API Reference","pages":[]}]}]},{"group":"Run an Ark server","pages":[{"title":"Run an Ark server","sidebarTitle":"Overview","href":"/ark-server/index"},{"title":"Set up an Ark server manually","sidebarTitle":"Manual setup","href":"/ark-server/manual-setup"},{"title":"Set up an Ark server with Docker Compose","sidebarTitle":"Docker Compose","href":"/ark-server/docker-compose"},{"title":"Connect a wallet","sidebarTitle":"Connect a wallet","href":"/ark-server/connect-wallet"}]}]},{"tab":"Bark SDK","pages":[{"title":"Bark SDK","href":"/bark-sdk"}]},{"tab":"Barkd","groups":[{"group":"Get started","pages":[{"title":"Barkd","sidebarTitle":"Overview","href":"/barkd"},{"title":"Install Barkd","href":"/barkd/install"},{"title":"Start the daemon","sidebarTitle":"Start the daemon","href":"/barkd/start"},{"title":"Authenticate","sidebarTitle":"Authenticate","href":"/barkd/authenticate"},{"title":"Clients","sidebarTitle":"Clients","href":"/barkd/clients"}]},{"group":"REST API","pages":[{"group":"bitcoin","pages":[{"title":"Get bitcoin tip height","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/bitcoin/tip","href":"/barkd/api-reference/bitcoin/get-bitcoin-tip-height"}]},{"group":"boards","pages":[{"title":"Board all on-chain bitcoin","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/boards/board-all","href":"/barkd/api-reference/boards/board-all-on-chain-bitcoin"},{"title":"Board a specific amount","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/boards/board-amount","href":"/barkd/api-reference/boards/board-a-specific-amount"},{"title":"List pending boards","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/boards/pending","href":"/barkd/api-reference/boards/list-pending-boards"}]},{"group":"exits","pages":[{"title":"Cancel an exit","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/cancel/{vtxo_id}","href":"/barkd/api-reference/exits/cancel-an-exit"},{"title":"Claim all exited VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/claim/all","href":"/barkd/api-reference/exits/claim-all-exited-vtxos"},{"title":"Claim specific exited VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/claim/vtxos","href":"/barkd/api-reference/exits/claim-specific-exited-vtxos"},{"title":"Estimate emergency exit fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/fee","href":"/barkd/api-reference/exits/estimate-emergency-exit-fee"},{"title":"Presign emergency exit chains","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/presign","href":"/barkd/api-reference/exits/presign-emergency-exit-chains"},{"title":"Progress exits","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/progress","href":"/barkd/api-reference/exits/progress-exits"},{"title":"List remaining exit transactions","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/remaining","href":"/barkd/api-reference/exits/list-remaining-exit-transactions"},{"title":"Start exit for all VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/start/all","href":"/barkd/api-reference/exits/start-exit-for-all-vtxos"},{"title":"Start exit for specific VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/exits/start/vtxos","href":"/barkd/api-reference/exits/start-exit-for-specific-vtxos"},{"title":"List all exit statuses (deprecated)","deprecated":true,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/status","href":"/barkd/api-reference/exits/list-all-exit-statuses-deprecated"},{"title":"List all exit statuses","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/status/all","href":"/barkd/api-reference/exits/list-all-exit-statuses"},{"title":"List finished exits","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/status/finished","href":"/barkd/api-reference/exits/list-finished-exits"},{"title":"List live exit statuses","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/status/live","href":"/barkd/api-reference/exits/list-live-exit-statuses"},{"title":"Get VTXO exit status","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/status/vtxo/{vtxo_id}","href":"/barkd/api-reference/exits/get-vtxo-exit-status"},{"title":"Get exit status (deprecated)","deprecated":true,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/exits/status/{vtxo_id}","href":"/barkd/api-reference/exits/get-exit-status-deprecated"}]},{"group":"fees","pages":[{"title":"Estimate board fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/fees/board","href":"/barkd/api-reference/fees/estimate-board-fee"},{"title":"Estimate Lightning send fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/fees/lightning/pay","href":"/barkd/api-reference/fees/estimate-lightning-send-fee"},{"title":"Estimate Lightning receive fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/fees/lightning/receive","href":"/barkd/api-reference/fees/estimate-lightning-receive-fee"},{"title":"Estimate offboard fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/fees/offboard","href":"/barkd/api-reference/fees/estimate-offboard-fee"},{"title":"Estimate offboard-all fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/fees/offboard-all","href":"/barkd/api-reference/fees/estimate-offboard-all-fee"},{"title":"Get on-chain fee rates","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/fees/onchain","href":"/barkd/api-reference/fees/get-on-chain-fee-rates"},{"title":"Estimate send-onchain fee","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/fees/send-onchain","href":"/barkd/api-reference/fees/estimate-send-onchain-fee"}]},{"group":"history","pages":[{"title":"Get wallet history","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/history","href":"/barkd/api-reference/history/get-wallet-history"},{"title":"Patch movement metadata","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/history/{id}/metadata","href":"/barkd/api-reference/history/patch-movement-metadata"}]},{"group":"lightning","pages":[{"title":"Send a Lightning payment","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/lightning/pay","href":"/barkd/api-reference/lightning/send-a-lightning-payment"},{"title":"List all pending receive statuses","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/lightning/receives","href":"/barkd/api-reference/lightning/list-all-pending-receive-statuses"},{"title":"Create a BOLT11 invoice","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/lightning/receives/invoice","href":"/barkd/api-reference/lightning/create-a-bolt11-invoice"},{"title":"Create a BOLT11 invoice for an Ark address","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/lightning/receives/invoice/for-address","href":"/barkd/api-reference/lightning/create-a-bolt11-invoice-for-an-ark-address"},{"title":"Get receive status","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/lightning/receives/{identifier}","href":"/barkd/api-reference/lightning/get-receive-status"},{"title":"Cancel a pending receive","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json delete /api/v1/lightning/receives/{identifier}","href":"/barkd/api-reference/lightning/cancel-a-pending-receive"},{"title":"Get send status","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/lightning/sends/{identifier}","href":"/barkd/api-reference/lightning/get-send-status"}]},{"group":"message","pages":[{"title":"Sign a message","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/message/sign","href":"/barkd/api-reference/message/sign-a-message"},{"title":"Verify a signed message","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/message/verify","href":"/barkd/api-reference/message/verify-a-signed-message"}]},{"group":"notifications","pages":[{"title":"Long-poll for wallet notifications","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/notifications/wait","href":"/barkd/api-reference/notifications/long-poll-for-wallet-notifications"},{"title":"Create a websocket ticket","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/notifications/ws/ticket","href":"/barkd/api-reference/notifications/create-a-websocket-ticket"}]},{"group":"onchain","pages":[{"title":"Generate on-chain address","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/onchain/addresses/next","href":"/barkd/api-reference/onchain/generate-on-chain-address"},{"title":"Get on-chain balance","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/onchain/balance","href":"/barkd/api-reference/onchain/get-on-chain-balance"},{"title":"Drain on-chain wallet","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/onchain/drain","href":"/barkd/api-reference/onchain/drain-on-chain-wallet"},{"title":"Send on-chain payment","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/onchain/send","href":"/barkd/api-reference/onchain/send-on-chain-payment"},{"title":"Send to multiple addresses","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/onchain/send-many","href":"/barkd/api-reference/onchain/send-to-multiple-addresses"},{"title":"Sync on-chain wallet","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/onchain/sync","href":"/barkd/api-reference/onchain/sync-on-chain-wallet"},{"title":"List on-chain transactions","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/onchain/transactions","href":"/barkd/api-reference/onchain/list-on-chain-transactions"},{"title":"List on-chain UTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/onchain/utxos","href":"/barkd/api-reference/onchain/list-on-chain-utxos"}]},{"group":"wallet","pages":[{"title":"Get apiv1wallet","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet","href":"/barkd/api-reference/wallet/get-apiv1wallet"},{"title":"Delete the wallet","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json delete /api/v1/wallet","href":"/barkd/api-reference/wallet/delete-the-wallet"},{"title":"Get Ark address by index","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/addresses/index/{index}","href":"/barkd/api-reference/wallet/get-ark-address-by-index"},{"title":"Generate Ark address","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/addresses/next","href":"/barkd/api-reference/wallet/generate-ark-address"},{"title":"Get Ark server info","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/ark-info","href":"/barkd/api-reference/wallet/get-ark-server-info"},{"title":"Get wallet balance","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/balance","href":"/barkd/api-reference/wallet/get-wallet-balance"},{"title":"Build a BIP 321 payment URI","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/bip321","href":"/barkd/api-reference/wallet/build-a-bip-321-payment-uri"},{"title":"Check server connection","description":"Checks whether the wallet has an active connection to the Ark server. Returns `true` if the wallet can reach the server and retrieve its configuration, `false` otherwise. The background daemon checks the server connection every second, so this reflects the most recent known state.","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/connected","href":"/barkd/api-reference/wallet/check-server-connection"},{"title":"Create a wallet","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/create","href":"/barkd/api-reference/wallet/create-a-wallet"},{"title":"Get wallet debug info","description":"Returns wallet information that helps to debug issues: the bitcoin network, the ID of the wallet's server mailbox and the xpub from which all VTXO keypairs are derived.","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/debug-info","href":"/barkd/api-reference/wallet/get-wallet-debug-info"},{"title":"Get wallet history (deprecated)","deprecated":true,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/history","href":"/barkd/api-reference/wallet/get-wallet-history-deprecated"},{"title":"Import a VTXO","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/import-vtxo","href":"/barkd/api-reference/wallet/import-a-vtxo"},{"title":"Get wallet mnemonic","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/mnemonic","href":"/barkd/api-reference/wallet/get-wallet-mnemonic"},{"title":"List movements (deprecated)","deprecated":true,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/movements","href":"/barkd/api-reference/wallet/list-movements-deprecated"},{"title":"Get next round time","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/next-round","href":"/barkd/api-reference/wallet/get-next-round-time"},{"title":"Offboard all VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/offboard/all","href":"/barkd/api-reference/wallet/offboard-all-vtxos"},{"title":"Offboard specific VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/offboard/vtxos","href":"/barkd/api-reference/wallet/offboard-specific-vtxos"},{"title":"Refresh all VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/refresh/all","href":"/barkd/api-reference/wallet/refresh-all-vtxos"},{"title":"Refresh received VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/refresh/counterparty","href":"/barkd/api-reference/wallet/refresh-received-vtxos"},{"title":"Refresh VTXOs in delegated mode","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/refresh/delegated/vtxos","href":"/barkd/api-reference/wallet/refresh-vtxos-in-delegated-mode"},{"title":"Refresh specific VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/refresh/vtxos","href":"/barkd/api-reference/wallet/refresh-specific-vtxos"},{"title":"List round participations","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/rounds","href":"/barkd/api-reference/wallet/list-round-participations"},{"title":"Send a payment","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/send","href":"/barkd/api-reference/wallet/send-a-payment"},{"title":"Send on-chain from Ark balance","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/send-onchain","href":"/barkd/api-reference/wallet/send-on-chain-from-ark-balance"},{"title":"Sync wallet","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/sync","href":"/barkd/api-reference/wallet/sync-wallet"},{"title":"Sync mailbox only","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json post /api/v1/wallet/sync/mailbox","href":"/barkd/api-reference/wallet/sync-mailbox-only"},{"title":"List VTXOs","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/vtxos","href":"/barkd/api-reference/wallet/list-vtxos"},{"title":"Get VTXO detail","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/vtxos/{id}","href":"/barkd/api-reference/wallet/get-vtxo-detail"},{"title":"Get encoded VTXO","deprecated":null,"version":null,"openapi":"https://gitlab.com/ark-bitcoin/bark/-/raw/master/bark-rest/openapi.json get /api/v1/wallet/vtxos/{id}/encoded","href":"/barkd/api-reference/wallet/get-encoded-vtxo"}]},{"group":"API Reference","pages":[]}]}]},{"tab":"Apps","menu":[{"item":"Bark Wallet","icon":"https://mintlify.s3.us-west-1.amazonaws.com/second-0659a37d/images/built-with-bark/bark-wallet-logo.svg","description":"A self-custodial wallet app for Ark, Lightning, and on-chain payments","pages":[{"title":"Bark Wallet","href":"/bark-wallet"}]},{"item":"BTCPay Server plugin","icon":"https://mintlify.s3.us-west-1.amazonaws.com/second-0659a37d/images/built-with-bark/btcpay-logo.svg","description":"The simplest way to add Lightning to your checkout","pages":[{"title":"BTCPay Server plugin","href":"/btcpay"}]},{"item":"Bark Pay","icon":"https://mintlify.s3.us-west-1.amazonaws.com/second-0659a37d/images/built-with-bark/bark-pay-logo.svg","description":"Self-hosted bitcoin payments for your store or app","pages":[{"title":"Bark Pay","href":"/bark-pay"}]},{"item":"Swaptopia","icon":"https://mintlify.s3.us-west-1.amazonaws.com/second-0659a37d/images/built-with-bark/swaptopia-logo.svg","description":"Swap between on-chain bitcoin and Lightning from a wallet app in your browser","pages":[{"title":"Swaptopia","href":"/swaptopia"}]}],"pages":[{"title":"Apps","href":"/bark-wallet"}]},{"tab":"Learn","pages":[{"title":"Learn","href":"/learn/intro"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Create a wallet - Second Docs","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CNqlzjVB.js","utils-BqFiXZ79.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CnR4QBe6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BY2ZM1OO.js","snippetPresets-x-8ACO8V.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-CTxrMSpo.js","ApiExamples-Ch-SJE05.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CqqG_0NE.js","shallow-BXrZ2b0C.js","getApiPlaygroundDisplay-n7J_wkjq.js","CodeSnippet-CQsp4vyQ.js","CodeSnippets-BfuHqvZx.js","getPastedJson-BjrGIK1i.js","icon-7iLZnVOC.js","MethodPill-TBS1m84e.js","DuplicateIcon-BNMrV4Vs.js","createIcon-C5kCqeU2.js","DynamicMarkdown-Bq09mRwR.js","SectionHeading-G4Bflf5Q.js","axios-vUo_bRtp.js","Markdown-BTUds0aX.js","clsx-6wHzaN2_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BPypQKlo.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-o6bee4ro.js"]}