Skip to content
NAVIDocs
Open app
Skip to Content

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/lending

Use 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.

On this page