Type alias CreateTokenBuilderParams

CreateTokenBuilderParams: {
    mint: PublicKey;
    token?: undefined | Signer;
    owner?: undefined | PublicKey;
    createAssociatedTokenAccountInstructionKey?: undefined | string;
    createAccountInstructionKey?: undefined | string;
    initializeTokenInstructionKey?: undefined | string;
}

Type declaration

  • mint: PublicKey

    The address of the mint account associated with the new token account.

  • Optional token?: undefined | Signer

    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 and owner parameters.

  • Optional owner?: undefined | PublicKey

    The address of the owner of the new token account.

    Default Value

    metaplex.identity().publicKey

  • Optional createAssociatedTokenAccountInstructionKey?: undefined | string

    A key to distinguish the instruction that creates the associated token account.

  • Optional createAccountInstructionKey?: undefined | string

    A key to distinguish the instruction that creates the account.

  • Optional initializeTokenInstructionKey?: undefined | string

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

Generated using TypeDoc