gill
gill/programs/token/Type aliases

GetMintTokensInstructionsArgs

type GetMintTokensInstructionsArgs = TokenInstructionBase & {
  amount: bigint | number;
  ata: Address;
  destination: TransactionSigner | Address;
  mintAuthority: TransactionSigner | Address;
};

Type declaration

NameTypeDescription
amountbigint | numberAmount of tokens to mint to the owner via their ata
ataAddressAssociated token account (ata) address for destination and this mint See getAssociatedTokenAccountAddress Example getAssociatedTokenAccountAddress(mint, destination, tokenProgram);
destinationTransactionSigner | AddressWallet address to receive the tokens being minted, via their associated token account (ata)
mintAuthorityTransactionSigner | AddressThe authority address capable of authorizing minting of new tokens. - this should normally by a TransactionSigner - only for multi-sig authorities (like Squads Protocol), should you supply an Address

On this page