Type alias CreateMintBuilderParams

CreateMintBuilderParams: { mint?: undefined | Signer; mintAuthority?: undefined | PublicKey; freezeAuthority?: undefined | Option<PublicKey>; decimals?: undefined | number; createAccountInstructionKey?: undefined | string; initializeMintInstructionKey?: undefined | string }

Type declaration

  • Optional mint?: undefined | Signer

    The address of the new mint account as a Signer.

    Default Value

    Keypair.generate()

  • Optional mintAuthority?: undefined | PublicKey

    The address of the authority that is allowed to mint new tokens to token accounts.

    Default Value

    metaplex.identity().publicKey

  • Optional freezeAuthority?: undefined | Option<PublicKey>

    The address of the authority that is allowed to freeze token accounts.

    Default Value

    Defaults to using the same value as the mintAuthority parameter.

  • Optional decimals?: undefined | number

    The number of decimal points used to define token amounts.

    Default Value

    0

  • Optional createAccountInstructionKey?: undefined | string

    A key to distinguish the instruction that creates the account.

  • Optional initializeMintInstructionKey?: undefined | string

    A key to distinguish the instruction that initializes the mint account.

Generated using TypeDoc