Optional
decimals?: numberOptional
initialThe initial amount of tokens to mint to the new token account.
0
Optional
mint?: SignerThe address of the new mint account as a Signer.
Keypair.generate()
Optional
mintThe address of the authority that is allowed to mint new tokens to token accounts.
It may be required as a Signer in order to mint the initial supply.
metaplex.identity()
Optional
freezeThe address of the authority that is allowed to freeze token accounts.
metaplex.identity().publicKey
Optional
owner?: PublicKeyThe address of the owner of the new token account.
metaplex.identity().publicKey
Optional
token?: SignerThe token account as a Signer if we want to create a new token account with a specific address instead of creating a new associated token account.
Defaults to creating a new associated token account
using the mint
and owner
parameters.
Generated using TypeDoc
The number of decimal points used to define token amounts.
Default Value
0