/utxo/btc/addresses/{masterKey}

Utility endpoint for Bitcoin. Returns a list of derived addresses for a given xpub, ypub or zpub master key.

Supports different Bitcoin address types:

  • Legacy (0): Legacy P2PKH addresses starting with "1" - Most compatible, higher fees
  • SegWit (1): Native SegWit P2WPKH addresses starting with "bc1" - Lower fees, modern standard
  • SegWitP2SH (2): SegWit P2SH-P2WPKH addresses starting with "3" - Backward compatible SegWit
  • Taproot (3): Taproot P2TR addresses starting with "bc1p" - Enhanced privacy and flexibility

Examples:

  • GET /utxo/btc/addresses/{masterKey} - Returns 20 legacy addresses (default)
  • GET /utxo/btc/addresses/{masterKey}?count=50&addressType=1 - Returns 50 Native SegWit addresses
  • GET /utxo/btc/addresses/{masterKey}?count=100&addressType=SegWit - Same as above using string value
Language
Click Try It! to start a request and see the response here!