UNPKG

@metaplex-foundation/mpl-toolbox

Version:

Auto-generated essential Solana and Metaplex programs

13 lines (12 loc) 783 B
/** * 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 { ClusterFilter, Context, Program, PublicKey } from '@metaplex-foundation/umi'; export declare const SPL_ASSOCIATED_TOKEN_PROGRAM_ID: PublicKey<"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL">; export declare function createSplAssociatedTokenProgram(): Program; export declare function getSplAssociatedTokenProgram<T extends Program = Program>(context: Pick<Context, 'programs'>, clusterFilter?: ClusterFilter): T; export declare function getSplAssociatedTokenProgramId(context: Pick<Context, 'programs'>, clusterFilter?: ClusterFilter): PublicKey;