Erc1155Enumerable class
List ERC1155 NFTs
Example
const contract = await sdk.getContract("{{contract_address}}");
const nfts = await contract.edition.query.all();
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(erc1155, contractWrapper) | Constructs a new instance of the Erc1155Enumerable class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| featureName | "ERC1155Enumerable" |
Methods
| Method | Modifiers | Description |
|---|---|---|
| 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.