@metaplex-foundation/mpl-toolbox
Version:
Auto-generated essential Solana and Metaplex programs
13 lines (12 loc) • 741 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 { ClusterFilter, Context, Program, PublicKey } from '@metaplex-foundation/umi';
export declare const SPL_TOKEN_PROGRAM_ID: PublicKey<"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA">;
export declare function createSplTokenProgram(): Program;
export declare function getSplTokenProgram<T extends Program = Program>(context: Pick<Context, 'programs'>, clusterFilter?: ClusterFilter): T;
export declare function getSplTokenProgramId(context: Pick<Context, 'programs'>, clusterFilter?: ClusterFilter): PublicKey;