UNPKG

pumpfun-swap-sdk

Version:

SDK for interacting with the PumpFun AMM on Solana

4 lines (3 loc) 215 B
import BN from 'bn.js'; import { WithdrawResult } from '../types/sdk'; export declare function withdrawInternal(lpAmount: BN, slippage: number, baseReserve: BN, quoteReserve: BN, totalLpTokens: BN): WithdrawResult;