Mint Additional Supply of ERC1155

Use this method to mint additional supply of an item.

circle-info

Only works if the circulating supply is less than the maximum supply

Usage in your script

const response = altura.mintAdditionalSupply(
  COLLECTION_ADDRESS,
  TOKEN_ID,
  AMOUNT,
  TO_ADDRESS
);

const txHash = response.txHash;

Parameters

Parameter
Type
Required
Description

collection_addr

String

Yes

The item's collection address

token_id

number

Yes

The item's tokenId

amount

number

Yes

The amount of additional supply you want to mint

to_addr

String

Yes

The address you want to mint the additional supply toโ€‹You do not need to mint the additional supply to your own wallet, instead, you can mint them to someone else's wallet right away

Last updated