UNPKG

@heliofi/solana-adapter-v1

Version:

API to interact with Helio Finances program on Solana.

6 lines (5 loc) 342 B
import { PublicKey, Transaction } from '@solana/web3.js'; import { Program } from '@project-serum/anchor'; import { HelioIdl } from './program'; import { WithdrawRequest } from './types'; export declare const getWithdrawSolTx: (program: Program<HelioIdl>, req: WithdrawRequest, fee?: number, otherSigner?: PublicKey) => Promise<Transaction>;