Optional
token?: undefined | SignerOptional
owner?: undefined | PublicKeyThe address of the owner of the new token account.
metaplex.identity().publicKey
Optional
decimals?: undefined | numberThe number of decimal points used to define token amounts.
0
Optional
mint?: undefined | 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
initialThe initial amount of tokens to mint to the new token account.
0
Optional
createA key to distinguish the instruction that creates the mint account.
Optional
initializeA key to distinguish the instruction that initializes the mint account.
Optional
createA key to distinguish the instruction that creates the associates token account.
Optional
createA key to distinguish the instruction that creates the token account.
Optional
initializeA key to distinguish the instruction that initializes the token account.
Optional
mintA key to distinguish the instruction that mints tokens to the token account.
Generated using TypeDoc
The 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.
Default Value
Defaults to creating a new associated token account using the
mint
andowner
parameters.