UNPKG

@symmetry-hq/baskets-v2-sdk

Version:

Symmetry Baskets V2 SDK

13 lines (12 loc) 451 B
import { Program } from "@coral-xyz/anchor"; import { PublicKey } from "@solana/web3.js"; import { BasketsProgram } from "../../idl/types"; export declare function withdrawIx(params: { program: Program<BasketsProgram>; seller: PublicKey; basket: PublicKey; withdrawStateSeed: number[]; amountToWithdraw: number; destinationMint: PublicKey; rebalance: boolean; }): Promise<import("@solana/web3.js").TransactionInstruction>;