sdk.provider.getunspentoutputbynft
Home > @blaze-cardano/sdk > 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 | The NFT to retrieve the unspent output for. | 
Returns:
Promise<TransactionUnspentOutput>
{Promise