gill
gill/programs/token/Type aliases

CreateAssociatedTokenIdempotentAsyncInput

type CreateAssociatedTokenIdempotentAsyncInput<TAccountPayer, TAccountAta, TAccountOwner, TAccountMint, TAccountSystemProgram, TAccountTokenProgram> = {
  ata?: Address<TAccountAta>;
  mint: Address<TAccountMint>;
  owner: Address<TAccountOwner>;
  payer: TransactionSigner<TAccountPayer>;
  systemProgram?: Address<TAccountSystemProgram>;
  tokenProgram?: Address<TAccountTokenProgram>;
};

Type Parameters

Type ParameterDefault type
TAccountPayer extends stringstring
TAccountAta extends stringstring
TAccountOwner extends stringstring
TAccountMint extends stringstring
TAccountSystemProgram extends stringstring
TAccountTokenProgram extends stringstring

Properties

ata?

optional ata: Address<TAccountAta>;

Associated token account address to be created.


mint

mint: Address<TAccountMint>;

The token mint for the new associated token account.


owner

owner: Address<TAccountOwner>;

Wallet address for the new associated token account.


payer

payer: TransactionSigner<TAccountPayer>;

Funding account (must be a system account).


systemProgram?

optional systemProgram: Address<TAccountSystemProgram>;

System program.


tokenProgram?

optional tokenProgram: Address<TAccountTokenProgram>;

SPL Token program.

On this page