---
title: "Generate a wallet"
method: POST
path: "/cryptos/{cryptoCode}/derivations"
---

# Generate a wallet

`POST /cryptos/{cryptoCode}/derivations`

## Path parameters

- `cryptoCode` string, required

## Request body

- WalletGenerationRequest
  - `accountNumber` integer
  - `wordList` 'English' | 'French' | 'Japanese' | 'Spanish' | 'ChineseSimplified'
  - `existingMnemonic` string
  - `wordCount` integer
  - `scriptPubKeyType` 'Legacy' | 'Segwit' | 'SegwitP2SH' | 'Taproot'
  - `passphrase` string
  - `importKeysToRPC` boolean
  - `savePrivateKeys` boolean
  - `additionalOptions` object

## Response `200`

Wallet generated successfully

- WalletGenerationResponse
  - `mnemonic` string
  - `passphrase` string
  - `wordList` string
  - `wordCount` integer
  - `masterHDKey` string
  - `accountHDKey` string
  - `accountKeyPath` string
  - `accountDescriptor` string
  - `derivationScheme` string

## Changes

- **2024-11-18** `b5092f204599` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/btcpayserver/apis/nbxplorer-api/changes/cryptos/:cryptoCode/derivations/post.md)

---

[API](https://skmtc.dev/btcpayserver/apis/nbxplorer-api.md) · [All operations](https://skmtc.dev/btcpayserver/apis/nbxplorer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/btcpayserver/nbxplorer-api/revisions/b5092f204599/schema)
