Get Xpub
GET
/{apiKey}/api/v2/xpub/{xpub}
Returns balances and transactions for an xpub or output descriptor on Litecoin. Supports BIP44, BIP49, BIP84, and BIP86 (Taproot) derivation schemes. The BIP version is determined by the xpub prefix or by an explicit output descriptor.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
stringrequired
Extended public key or output descriptor.
Query Parameters
integeroptionaldefaults to
1integeroptionaldefaults to
1000integeroptional
integeroptional
enumoptionaldefaults to
txidsDefaults to "txids".
Allowed values:
enumoptionaldefaults to
nonzeroWhich derived addresses to return.
Defaults to "nonzero".
Allowed values:
stringoptional
Secondary (fiat) currency code for balance conversion.
Responses
200
Xpub details, balances, derived addresses, and transactions.
400
Malformed request.
404
Resource not found on the requested network.
Was this page helpful?