Skip to main content

Erc1155Mintable.additionalSupplyTo() method

Increase the supply of an existing NFT and mint it to a given wallet address

Example

// Address of the wallet you want to mint the NFT to
const toAddress = "{{wallet_address}}";
const tokenId = 0;
const additionalSupply = 1000;

const tx = await contract.edition.mint.additionalSupplyTo(
toAddress,
tokenId,
additionalSupply,
);

Signature:

additionalSupplyTo(to: string, tokenId: BigNumberish, additionalSupply: BigNumberish): Promise<TransactionResultWithId<NFT>>;

Parameters

ParameterTypeDescription
tostringthe address to mint to
tokenIdBigNumberishthe token id of the NFT to increase supply of
additionalSupplyBigNumberishthe additional amount to mint

Returns:

Promise<TransactionResultWithId<NFT>>