UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

14 lines (13 loc) 382 B
import { Connection, PublicKey } from '@solana/web3.js'; interface IParams { programId: PublicKey; connection: Connection; } interface IReturn { collectionInfos: any[]; deposits: any[]; liquidityPools: any[]; loans: any[]; } declare const getAllProgramAccounts: ({ programId, connection }: IParams) => Promise<IReturn>; export default getAllProgramAccounts;