1.0.130 • Published 5 months ago
flash-sdk-multi-pool v1.0.130
Flash SDK
Client SDK for interacting with FLASH.TRADE's smart-contracts
Install
npm i flash-sdk / yarn add flash-sdk
Using the SDK
connect sdk locally
` import { AnchorProvider } from "@coral-xyz/anchor";
const provider : AnchorProvider = AnchorProvider.local(clusterUrl, { commitment: "confirmed", preflightCommitment: "confirmed", skipPreflight: true }); client = new PerpetualsClient(provider, programId); `
To fetch all the pool data
1.0.130
5 months ago