Skip to main content

query.provider.getunspentoutputs

Home > @blaze-cardano/query > Provider > getUnspentOutputs

Provider.getUnspentOutputs() method

Retrieves the unspent outputs for a given address.

Signature:

abstract getUnspentOutputs(address: Address): Promise<TransactionUnspentOutput[]>;

Parameters

Parameter

Type

Description

address

Address

The address to retrieve unspent outputs for.

Returns:

Promise<TransactionUnspentOutput[]>

{Promise<TransactionUnspentOutput[]>} - The unspent outputs for the address.