Derivations
Generate a hot wallet
Changed onNBXplorer will generate and save a mnemonic and create a derivationScheme.
post/v1/cryptos/{cryptoCode}/derivations
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
cryptoCodestring required
The cryptocurrency code to track (e.g., 'BTC' for Bitcoin, 'LTC' for Litecoin).
Request body
Response
Successfully generated a hot wallet.
Example response
{
"mnemonic": "musicien sinistre divertir réussir louve alliage péplum innocent filmer stipuler chignon utopie effusion heureux légal",
"passphrase": "hello",
"wordList": "French",
"wordCount": 15,
"masterHDKey": "tprv8ZgxMBicQKsPdv26BvirqqQCZJPSYEkSW7Por7a7r2PpsCUKHjjT18Gwk8k4FtkvqvakMFnsv9uaXHHoibieRd5BMhGCPYxVLaVY9vqpaxb",
"accountHDKey": "tprv8gPRns62uoh4zbRatcxUWZY7aX3XsTchHBp79YL6E3fEocsgd6XjThU4r7E3iUemBffeLSjcjXyD1VrmHMwNceVipFL7txTFMgKm4kehuSR",
"accountKeyPath": "a0aa59b4/49'/1'/2'",
"accountDescriptor": "sh(wpkh([a0aa59b4/49'/1'/2']tpubDD5TwH8H4BNjt4TNnGd4uyCE9YZU2nobrVQtS4NPeKTde78TFVMKeC5w2G1nj7amQbGDptv4FtDBLuVQhofegQaZdFVuuxuCGpZQ4jZ6L5q))",
"derivationScheme": "tpubDD5TwH8H4BNjt4TNnGd4uyCE9YZU2nobrVQtS4NPeKTde78TFVMKeC5w2G1nj7amQbGDptv4FtDBLuVQhofegQaZdFVuuxuCGpZQ4jZ6L5q-[p2sh]"
}Changes
- warning
removed the request property
- warning
- info
api operation id
GenerateWalletwas added
- info