UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

6 lines 387 B
import type { MaybeAccount } from '@solana/kit'; /** Unwrap codama MaybeAccount to match old T | null pattern */ export declare function unwrapAccount<T extends object>(account: MaybeAccount<T>): T | null; /** Unwrap array of MaybeAccounts */ export declare function unwrapAccounts<T extends object>(accounts: MaybeAccount<T>[]): (T | null)[]; //# sourceMappingURL=codamaHelpers.d.ts.map