@metaplex-foundation/mpl-toolbox
Version:
Auto-generated essential Solana and Metaplex programs
18 lines (17 loc) • 745 B
TypeScript
/**
* This code was AUTOGENERATED using the kinobi library.
* Please DO NOT EDIT THIS FILE, instead use visitors
* to add features, then rerun kinobi to update it.
*
* @see https://github.com/metaplex-foundation/kinobi
*/
import { Context, Pda, PublicKey, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type CreateAssociatedTokenInstructionAccounts = {
payer?: Signer;
ata?: PublicKey | Pda;
owner?: PublicKey | Pda;
mint: PublicKey | Pda;
systemProgram?: PublicKey | Pda;
tokenProgram?: PublicKey | Pda;
};
export declare function createAssociatedToken(context: Pick<Context, 'eddsa' | 'identity' | 'payer' | 'programs'>, input: CreateAssociatedTokenInstructionAccounts): TransactionBuilder;