useMintNFTSupply
Hook for minting additional supply to an existing ERC-1155 token.
Available to use on contracts that implement the ERC1155Mintable interface, such as the Edition or Edition Drop .
The wallet address that initiates this transaction must have minting permissions on the contract.
Mutation object to mint a more supply of a token id to the provided wallet
The mutation function takes an object with the following properties:
The quantity of additional supply to mint.
For example, if you have 10 quantity so far, and you want to mint 5 more, set additionalSupply
to 5
.
Can be a string
or number
.
The wallet address to mint the new supply to.
To use the connected wallet address, use the useAddress
hook.
The token ID of the NFT to mint additional supply to.
Can be a string
or number
.