Skip to main content

Erc721Supply class

List ERC721 NFTs

Example

const contract = await sdk.getContract("{{contract_address}}");
const nfts = await contract.nft.query.all();

Constructors

ConstructorModifiersDescription
(constructor)(erc721, contractWrapper)Constructs a new instance of the Erc721Supply class

Properties

PropertyModifiersTypeDescription
featureName"ERC721Supply"
ownedErc721Enumerable | undefined

Methods

MethodModifiersDescription
all(queryParams)Get All Minted NFTs
allOwners()Return all the owners of each token id in this contract
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.