UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

6 lines (5 loc) 364 B
/// <reference types="bn.js" /> import * as anchor from '@project-serum/anchor'; import { PublicKey } from '@solana/web3.js'; export { Provider, Program } from '@project-serum/anchor'; export declare function topupConfig(programId: PublicKey, provider: anchor.Provider, admin: PublicKey, tokenMint: PublicKey, inputAmount: anchor.BN, sendTxn: any): Promise<void>;