UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

14 lines (13 loc) 510 B
/// <reference types="bn.js" /> import anchor from '@project-serum/anchor'; import { PublicKey, Transaction } from '@solana/web3.js'; interface IParams { programId: PublicKey; provider: anchor.Provider; liquidityPool: PublicKey; user: PublicKey; amount: anchor.BN | number; sendTxn: (transaction: Transaction) => Promise<void>; } declare const unstakeLiquidity: ({ programId, provider, liquidityPool, user, amount, sendTxn, }: IParams) => Promise<any>; export default unstakeLiquidity;