Rest
...args: [tokenIds: BigNumberish[], amounts: BigNumberish[]]Burn the batch NFTs from the connected wallet
// The token IDs to burn NFTs of
const tokenIds = [0, 1];
// The amounts of each NFT you want to burn
const amounts = [2, 2];
const result = await contract.edition.burn.batch(tokenIds, amounts);
Rest
...args: [tokenIds: BigNumberish[], amounts: BigNumberish[]]Burn a batch of NFTs
Rest
...args: [account: string, tokenIds: BigNumberish[], amounts: BigNumberish[]]Burn the batch NFTs from the specified wallet
// The address of the wallet to burn NFTS from
const account = "0x...";
// The token IDs to burn NFTs of
const tokenIds = [0, 1];
// The amounts of each NFT you want to burn
const amounts = [2, 2];
const result = await contract.edition.burn.batchFrom(account, tokenIds, amounts);
Rest
...args: [account: string, tokenIds: BigNumberish[], amounts: BigNumberish[]]Private
contractBurn a specified amount of a NFTs
Rest
...args: [account: string, tokenId: BigNumberish, amount: BigNumberish]Burn the specified NFTs from a specified wallet
// The address of the wallet to burn NFTS from
const account = "0x...";
// The token ID to burn NFTs of
const tokenId = 0;
// The amount of this NFT you want to burn
const amount = 2;
const result = await contract.edition.burn.from(account, tokenId, amount);
Rest
...args: [account: string, tokenId: BigNumberish, amount: BigNumberish]Burn a specified amount of a NFTs
Rest
...args: [tokenId: BigNumberish, amount: BigNumberish]Burn the specified NFTs from the connected wallet
// The token ID to burn NFTs of
const tokenId = 0;
// The amount of the NFT you want to burn
const amount = 2;
const result = await contract.edition.burn.tokens(tokenId, amount);
Rest
...args: [tokenId: BigNumberish, amount: BigNumberish]Generated using TypeDoc
Burn a batch of NFTs