UNPKG

@marinade.finance/kamino-sdk

Version:
20 lines (19 loc) 820 B
/// <reference types="node" /> 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; static readonly layout: any; constructor(fields: ScopeChainAccountFields); static fetch(c: Connection, address: PublicKey): Promise<ScopeChainAccount | null>; static fetchMultiple(c: Connection, addresses: PublicKey[]): Promise<Array<ScopeChainAccount | null>>; static decode(data: Buffer): ScopeChainAccount; toJSON(): ScopeChainAccountJSON; static fromJSON(obj: ScopeChainAccountJSON): ScopeChainAccount; }