Module: UnspentOutputsApi

API for interacting with unspent outputs.

Methods


<inner> list(params)

Get target unspent outputs.

Parameters:
Name Type Description
params Object

Filter and pagination information.

Properties
Name Type Description
id String

Unspent output id.

unconfirmed Boolean

is include unconfirmed utxo

smart_contract Boolean

is contract utxo

from Integer

the start position of first utxo

count Integer

the number of returned

account_id String

account id.

account_alias String

name of account.

Returns:

Target unspent outputs.

Type
Promise.<Array.<UnspentOutput>>

<inner> listAll()

Get all unspent outputs.

Returns:

Target unspent outputs.

Type
Promise.<Array.<UnspentOutput>>