UNPKG

@heliofi/solana-adapter-v1

Version:

API to interact with Helio Finances program on Solana.

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