UNPKG

kamino-sdk-beta

Version:

Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol

19 lines 895 B
import { PublicKey, Connection } from "@solana/web3.js"; export interface ScopeChainAccountFields { chainArray: Array<Array<number>>; } export interface ScopeChainAccountJSON { chainArray: Array<Array<number>>; } export declare class ScopeChainAccount { readonly chainArray: Array<Array<number>>; static readonly discriminator: Buffer<ArrayBuffer>; static readonly layout: any; constructor(fields: ScopeChainAccountFields); static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<ScopeChainAccount | null>; static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<ScopeChainAccount | null>>; static decode(data: Buffer): ScopeChainAccount; toJSON(): ScopeChainAccountJSON; static fromJSON(obj: ScopeChainAccountJSON): ScopeChainAccount; } //# sourceMappingURL=ScopeChainAccount.d.ts.map