Skip to main content
Version: 0.2.38

sdk.blockfrost.resolveunspentoutputs

Home > @blaze-cardano/sdk > Blockfrost > resolveUnspentOutputs

Blockfrost.resolveUnspentOutputs() method

This method resolves transaction outputs from a list of transaction inputs given as argument. The response is parsed into a TransactionUnspentOutput[] type, which is then returned. If the response is not in the expected format, an error is thrown.

Signature:

resolveUnspentOutputs(txIns: TransactionInput[]): Promise<TransactionUnspentOutput[]>;

Parameters

Parameter

Type

Description

txIns

TransactionInput[]

A list of TransactionInput

Returns:

Promise<TransactionUnspentOutput[]>

A Promise that resolves to TransactionUnspentOutput[].