Skip to main content

Erc1155Enumerable class

List ERC1155 NFTs

Example

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

Constructors

ConstructorModifiersDescription
(constructor)(erc1155, contractWrapper)Constructs a new instance of the Erc1155Enumerable class

Properties

PropertyModifiersTypeDescription
featureName"ERC1155Enumerable"

Methods

MethodModifiersDescription
all(queryParams)Get All NFTs
owned(walletAddress)Get Owned NFTs
totalCirculatingSupply(tokenId)Get the supply of token for a given tokenId.
totalCount()Get the number of NFTs minted

Signature:

export declare class Erc1155Enumerable implements DetectableFeature

Implements: DetectableFeature

Remarks

Easily list all the NFTs in a ERC1155 contract.