Mint Additional Supply of ERC1155

Use this method to mint additional supply of an item.

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

ParameterTypeRequiredDescription

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