v1

latestOpenAPI 3.0.02026-07-174823135.4 KB
Derivations

List tracked derivation schemes

Retrieves a list of all derivation schemes (wallets) that are currently being tracked for the specified cryptocurrency. This endpoint allows you to see all the wallets that NBXplorer is monitoring for transactions and balance changes.

get/v1/cryptos/{cryptoCode}/derivations

Path parameters

cryptoCodestring required

The cryptocurrency code to track (e.g., 'BTC' for Bitcoin, 'LTC' for Litecoin).

Response

Successfully retrieved the list of tracked derivation schemes.

derivationSchemestring required

The extended public key (xpub, ypub, zpub, etc.) representing the derivation scheme.

trackedSourcestring required

The tracked source identifier for the derivation scheme, formatted as 'DERIVATIONSCHEME:{derivationScheme}'.

derivationStrategystring required

The derivation strategy used, including any script type suffixes (e.g., '-[p2sh]').

networkstring required

The cryptocurrency network (e.g., 'BTC').

Example response

[
  {
    "derivationScheme": "tpubD6NzVbkrYhZ4WcPozSqALNCrJEt4C...",
    "trackedSource": "DERIVATIONSCHEME:tpubD6NzVbkrYhZ4WcPozSqALNCrJEt4C...",
    "derivationStrategy": "tpubD6NzVbkrYhZ4WcPozSqALNCrJEt4C...-[p2sh]",
    "network": "BTC",
    "metadata": {
      "label": "My Wallet",
      "createdAt": "2023-10-01T12:34:56Z"
    }
  }
]