UNPKG

@kamino-finance/klend-sdk

Version:

Typescript SDK for interacting with the Kamino Lending (klend) protocol

19 lines 814 B
import { TransactionInstruction, PublicKey } from "@solana/web3.js"; import BN from "bn.js"; export interface WithdrawObligationCollateralArgs { collateralAmount: BN; } export interface WithdrawObligationCollateralAccounts { owner: PublicKey; obligation: PublicKey; lendingMarket: PublicKey; lendingMarketAuthority: PublicKey; withdrawReserve: PublicKey; reserveSourceCollateral: PublicKey; userDestinationCollateral: PublicKey; tokenProgram: PublicKey; instructionSysvarAccount: PublicKey; } export declare const layout: any; export declare function withdrawObligationCollateral(args: WithdrawObligationCollateralArgs, accounts: WithdrawObligationCollateralAccounts, programId?: PublicKey): TransactionInstruction; //# sourceMappingURL=withdrawObligationCollateral.d.ts.map