@saberhq/stableswap-sdk
Version:
Solana SDK for Saber's StableSwap program.
24 lines • 815 B
TypeScript
import type { PublicKey, TransactionInstructionCtorFields } from "@solana/web3.js";
import { TransactionInstruction } from "@solana/web3.js";
export declare const buildInstruction: ({ config: { swapProgramID }, keys, data, }: Pick<TransactionInstructionCtorFields, "keys" | "data"> & {
config: StableSwapConfig;
}) => TransactionInstruction;
export interface StableSwapConfig {
/**
* The public key identifying this instance of the Stable Swap.
*/
readonly swapAccount: PublicKey;
/**
* Authority
*/
readonly authority: PublicKey;
/**
* Program Identifier for the Swap program
*/
readonly swapProgramID: PublicKey;
/**
* Program Identifier for the Token program
*/
readonly tokenProgramID: PublicKey;
}
//# sourceMappingURL=common.d.ts.map