TypeScript SDK
Read lending pools with the NAVI SDK or use the TypeScript reference implementation for lending vaults.
Read lending pools
Install the lending SDK in your TypeScript project:
npm install @naviprotocol/lendingUse getPools to read market data:
import { getPools } from '@naviprotocol/lending';
const pools = await getPools();
console.log(pools.map((pool) => pool.token.symbol));See the lending SDK reference for the full interface. To compare the response with the HTTP endpoint, follow the developer quick start.
Integrate lending vaults
The vault TypeScript reference covers vault discovery, receipts, quotes and transaction construction with the Sui SDK. The vault integration guide explains the order of operations for deposits and withdrawals.