UNPKG

@solana-program/token-2022

Version:

JavaScript client for the Token 2022 program

20 lines 783 B
/** * This code was AUTOGENERATED using the codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun codama to update it. * * @see https://github.com/codama-idl/codama */ import { type Address, type ProgramDerivedAddress } from '@solana/kit'; export type AssociatedTokenSeeds = { /** The wallet address of the associated token account. */ owner: Address; /** The address of the token program to use. */ tokenProgram: Address; /** The mint address of the associated token account. */ mint: Address; }; export declare function findAssociatedTokenPda(seeds: AssociatedTokenSeeds, config?: { programAddress?: Address | undefined; }): Promise<ProgramDerivedAddress>; //# sourceMappingURL=associatedToken.d.ts.map