Type alias CreateTokenInput

CreateTokenInput: {
    mint: PublicKey;
    owner?: PublicKey;
    token?: Signer;
}

Type declaration

  • mint: PublicKey

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

  • Optional owner?: PublicKey

    The address of the owner of the new token account.

    Default Value

    metaplex.identity().publicKey

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

Generated using TypeDoc