Skip to main content

NFT type

This feature is currently in beta and may change based on feedback that we receive.

A single NFT token

Signature:

export declare type NFT<TContract extends NFTContract> = {
metadata: NFTMetadata;
owner: string;
type: TContract extends Erc721 ? "ERC721" : "ERC1155";
supply: TContract extends Erc721 ? 1 : number;
[key: string]: unknown;
};

References: NFTContract