Optional
amount?: undefined | SplTokenAmountThe amount of tokens to mint.
token(1)
Optional
toThe owner of the destination token account.
metaplex.identity().publicKey
Optional
toThe address of the destination token account.
This may be a regular token account or an associated token account. If the token account does not exist, then it will be created but only if it is an associated token account.
Defaults to using the associated token account
from the nftOrSft.address
and toOwner
parameters.
Optional
authority?: undefined | Signer | TokenMetadataAuthorityMetadataAn authority allowed to mint the asset.
This must be the update authority for Non-Fungible assets and the mint authority for Semi-Fungible assets.
Note that Delegate and Holder authorities are not supported for this instruction.
metaplex.identity()
Optional
authorizationThe authorization rules and data to use for the mint.
TokenMetadataAuthorizationDetails
Defaults to not using auth rules.
Optional
instructionA key to distinguish the instruction that uses the NFT.
Generated using TypeDoc
The NFT or SFT to mint from. We only need its address and token standard.