Skip to main content

query.kupmios.getunspentoutputbynft

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

Kupmios.getUnspentOutputByNFT() method

Gets an unspent output containing a specific NFT.

Signature:

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

Parameters

Parameter

Type

Description

unit

AssetId

Asset ID of the NFT.

Returns:

Promise<TransactionUnspentOutput>

A promise that resolves to the unspent output.