Erc721Supply class
List ERC721 NFTs
Example
const contract = await sdk.getContract("{{contract_address}}");
const nfts = await contract.nft.query.all();
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(erc721, contractWrapper) | Constructs a new instance of the Erc721Supply class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
featureName | "ERC721Supply" | ||
owned | Erc721Enumerable | undefined |
Methods
Method | Modifiers | Description |
---|---|---|
all(queryParams) | Get All Minted NFTs | |
totalCirculatingSupply() | Get the number of NFTs of this contract currently owned by end users | |
totalCount() | Get the number of NFTs minted |
Signature:
export declare class Erc721Supply implements DetectableFeature
Implements: DetectableFeature
Remarks
Easily list all the NFTs in a ERC721 contract.