UNPKG

kamino-sdk-beta

Version:

Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol

17 lines 635 B
import { TransactionInstruction, PublicKey } from "@solana/web3.js"; import BN from "bn.js"; export interface SwapRouterBaseInArgs { amountIn: BN; amountOutMinimum: BN; } export interface SwapRouterBaseInAccounts { payer: PublicKey; inputTokenAccount: PublicKey; inputTokenMint: PublicKey; tokenProgram: PublicKey; tokenProgram2022: PublicKey; memoProgram: PublicKey; } export declare const layout: any; export declare function swapRouterBaseIn(args: SwapRouterBaseInArgs, accounts: SwapRouterBaseInAccounts, programId?: PublicKey): TransactionInstruction; //# sourceMappingURL=swapRouterBaseIn.d.ts.map