Skip to main content

Consolidates utxos to a given address.

POST 

/wallet/utxo-consolidation

Consolidates utxos to a given address.

Request

Header Parameters

    x-wallet-id stringrequired

    Defines the key of the wallet on which the request will be executed.

Body

required

Data to consolidate utxos.

    destination_address stringrequired

    Recipient to the consolidated utxos.

    max_utxos integer

    Maximum number of utxos to aggregate. Default to MAX_INPUTS (255)

    token string

    Token to filter the utxos. If not sent, we select only HTR utxos.

    filter_address string

    Address to filter the utxos.

    amount_smaller_than integer

    Maximum limit of utxo amount to filter the utxos list. We will consolidate only utxos that have an amount lower than this value. Integer representation of decimals, i.e. 100 = 1.00.

    amount_bigger_than integer

    Minimum limit of utxo amount to filter the utxos list. We will consolidate only utxos that have an amount bigger than this value. Integer representation of decimals, i.e. 100 = 1.00.

    maximum_amount integer

    Limit the maximum total amount to consolidate summing all utxos. Integer representation of decimals, i.e. 100 = 1.00.

Responses

Consolidated utxos and consolidation information

Schema

    any

Loading...