Type alias CreateMintInput

CreateMintInput: {
    decimals?: number;
    mint?: Signer;
    mintAuthority?: PublicKey;
    freezeAuthority?: Option<PublicKey>;
}

Type declaration

  • Optional decimals?: number

    The number of decimal points used to define token amounts.

    Default Value

    0

  • Optional mint?: Signer

    The address of the new mint account as a Signer.

    Default Value

    Keypair.generate()

  • Optional mintAuthority?: PublicKey

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

    Default Value

    metaplex.identity().publicKey

  • Optional freezeAuthority?: 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.

Generated using TypeDoc