UNPKG

@orca-so/whirlpool-sdk

Version:

Whirlpool SDK for the Orca protocol.

5 lines (4 loc) 304 B
import { u64 } from "@solana/spl-token"; import { PublicKey } from "@solana/web3.js"; import { ResolvedTokenAddressInstruction } from "./helpers"; export declare function createWSOLAccountInstructions(walletAddress: PublicKey, amountIn: u64, rentExemptLamports: number): ResolvedTokenAddressInstruction;