APIs
Wallet API
Server
Handlers
Bitcoin

overview

The Bitcoin handler allows the server to interact with Bitcoin accounts.
Specifically, you can retrieve the extended public key (xPub) of a Bitcoin account.
This is useful for deriving Bitcoin addresses without revealing the private key.

request handlers:

"bitcoin.getXPub" - Get Extended Public Key (xPub)

parameter (in req.params)required?note
accountIdThe ID of the Bitcoin account for which the xPub is to be retrieved.
walletHandler usednote
bitcoin.getXPubShould retrieve the xPub of a particular bitcoin account
  • Gets the xPub of a bitcoin account with bitcoin.getXPub walletHandler
  • Returns: A promise that resolves with the xPub as a string.
Ledger
Copyright © Ledger SAS. All rights reserved. Ledger, Ledger Nano S, Ledger Vault, Bolos are registered trademarks of Ledger SAS