Skip to main content

query.provider.getunspentoutputbynft

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

Provider.getUnspentOutputByNFT() method

Retrieves the unspent output for a given NFT.

Signature:

abstract getUnspentOutputByNFT(unit: AssetId): Promise<TransactionUnspentOutput>;

Parameters

Parameter

Type

Description

unit

AssetId

The NFT to retrieve the unspent output for.

Returns:

Promise<TransactionUnspentOutput>

{Promise} - The unspent output for the NFT.