Parameters
An extended public key, or an output descriptor wrapping one. Supported descriptor forms: pkh(...), wpkh(...), sh(wpkh(...)), and tr(...). Must be an account-level key, not a master key. Example: tr(xpub...).
Descriptors containing a / are not supported and return an error.
This includes:
- key origin prefixes:
tr([73c5da0a/86'/2'/0']xpub...) - multipath selectors:
tr(xpub.../<0;1>/*) - explicit branch paths:
tr(xpub.../0/*)
Percent-encoding the slash does not help. Note the origin prefix cannot be shortened either, since it contains slashes of its own.
Use the bare form instead - tr(xpub...) - which is fully supported. The branch selector is unnecessary: Blockbook automatically scans both the receive (0) and change (1) branches for the account.
The options object with the following fields:
The page you would like to retrieve.
The number of transactions you would like on each page
Filter of the returned transactions from block height
Filter of the returned transactions to block height
Must be one of: basic|txids|txs
The secondary (fiat) currency in which the token and total balances are returned in addition to crypto values. Must be one of: usd|eur
Filter transactions by token. Provide a token's contract address, or 0 to return only transactions with no token transfers.
Limit returned token balances and transactions to the specified token contract address.
Comma-separated list of token protocols to include (for example erc20).
The gap limit used when deriving addresses from an extended public key (xpub). Defaults to 20.
Returns
The result of the XPUB request
The page number returned in this response.
The number of pages available for your original query
The maximum number of transactions returned in this response
The address you provided in the original query.
The current balance of the address using confirmed unspent transaction outputs only, denominated in satoshis (litoshis). Balance is updated after 1 confirmation.
The total value received for the address using confirmed transactions only, denominated in satoshis (litoshis).
The total value sent for the address using confirmed transactions only, denominated in satoshis (litoshis).
The current balance of the address using unconfirmed unspent transaction outputs only, denominated in satoshis (litoshis).
The current number of unconfirmed transactions for this address.
The total number of transactions for this address.
The total number of transactions across all addresses derived from this xpub.
(only appears when details is set to txids) An array of transaction ids for the provided address.
(only appears when details is set to txs) An array of transactions for the provided address.
The transaction id
The transaction version (1 or 2)
The earliest time a transaction could have been mined into a block.
An array of transaction objects used as inputs for the current transaction
The transaction id
The output index
The transaction sequence
The input index
An array of addresses in this transaction
Boolean value of whether there is an address or not
Boolean value of whether the transaction is from the original address provided
The value of this transaction in satoshis (litoshis)
An array of output transaction objects for the current transaction
The value of this transaction in satoshis (litoshis)
The output index
The raw scriptPubKey hex
Boolean value of whether the transaction has been spent
An array of addresses in this transaction
Boolean value of whether there is an address or not
The hash of the block at which the transaction was included
The block height at which the transaction output was created
The number of confirmations since this transaction was included in a block
The unix timestamp of when the block was confirmed
The size of the transaction in bytes
The virtual size of the transaction in bytes
The total value of the transaction in satoshis (litoshis)
The value transmitted in the transaction less fees denominated in satoshis (litoshis)
The fees for the transaction denominated in satoshis (litoshis)
The raw hexadecimal representation of the transaction
The number of addresses derived from this xpub that have been used.