Private contractPrivate erc1155Get All NFTs
Optional queryParams: { optional filtering to only fetch a subset of results.
Optional count?: numberOptional start?: numberThe NFT metadata for all NFTs queried.
Get all the data associated with every NFT in this contract.
By default, returns the first 100 NFTs, use queryParams to fetch more.
const nfts = await contract.edition.query.all();
Get all NFTs owned by a specific wallet
Optional walletAddress: stringOptional queryParams: { Optional count?: numberOptional start?: numberThe NFT metadata for all NFTs in the contract.
Get all the data associated with the NFTs owned by a specific wallet.
// Address of the wallet to get the NFTs of
const address = "{{wallet_address}}";
const nfts = await contract.edition.query.owned(address);
Generated using TypeDoc
List ERC1155 NFTs
Remarks
Easily list all the NFTs in a ERC1155 contract.
Example