Skip to content

token.address.get_history

token.address.get_history

Return the confirmed and unconfirmed token history of a Nexa or Bitcoin Cash address.

Signature

Function: token.address.get_history(address, cursor (optional), token (optional), filter { "from_height": 0, ...} (optional))

Version added: Rostrum 6.0

  • address

    Address encoded as a CashAddr string (with or without prefix). Legacy addresses (base58) are also supported.

  • cursor

    Placeholder for pagination.

  • token

    Token ID as cashaddr encoded or hexadecimal string. If provided, will filter out transactions that do not include token.

  • filter

    Filter dict for what transactions/utxos are included in the result. Valid filters are:

    • from_height - Include from the given block height, inclusive (default: 0).
    • to_height - Include up to the given block height, exclusive. Use -1 to include mempool (default: -1).

Result

See token.scripthash.get_history