Skip to main content

Search UTXOs with given address/token/amount

GET 

/utxo_search

For a given token-uid, address and target-amount, get a list of UTXOs that are candidates to be inputs for a total of target-value. The resulsts will try to include the first UTXO with value higher or equal value as target-amount. No more than 256 entries will ever be returned by this API.

Request

Query Parameters

    token_uid stringrequired

    The UID of the token formatted as a HEX string, use "00" for HTR

    target_amount intrequired

    The target amount that the UTXOs should sum-up to, 1 means 0.01 HTR

    address strrequired

    The address that all UTXOs have

    target_timestamp int

    What timestamp to consider for timelocked outputs, by default uses the timestamp from the current best block

    target_height int

    What timestamp to consider for reward outputs (which are heightlocked), by default uses the height from the current best block

Responses

Success

Schema

    any

Loading...