Get xpub
Returns balances and transactions of an xpub or output descriptor, applicable only for Bitcoin-type coins.
This method will use 10
Compute Units.
Reference: Here
Parameters
Required parameters
xpub OR descriptor
- string, required.
Optional parameters
page
: specifies page of returned transactions, starting from 1. If out of range, Blockbook returns the closest possible page.pageSize
: number of transactions returned by call (default and maximum 1000)from
, to: filter of the returned transactions from block height to block height (default no filter)details
: specifies level of details returned by request (defaulttxids
)basic
: return only xpub balances, without any derived addresses and transactionstokens
: basic + tokens (addresses) derived from the xpub, subject to tokens parametertokenBalances
: basic + tokens (addresses) derived from the xpub with balances, subject to tokens parametertxids
: tokenBalances + list of txids, subject to from, to filter and pagingtxs
: tokenBalances + list of transaction with details, subject to from, to filter and paging
tokens
: specifies what tokens (xpub addresses) are returned by the request (default nonzero)nonzero
: return only addresses with nonzero balanceused
: return addresses with at least one transactionderived
: return all derived addresses
secondary
: specifies secondary (fiat) currency in which the token and total balances are returned in addition to crypto values
Returns
Example response
Last updated