Overview
Kamino provides three integration options:Core Differences
Comparison of API, SDK, and Rust crate capabilities.Data & Analytics
Retrieve vault, market, and historical performance data.Historical Performance
Historical Performance
REST APIFetch historical APY data for lending market reserves.TypeScript SDKNo history tracking. Developers must persist snapshots manually if needed.
On-Chain Transactions
Build and execute deposit, borrow, repay, and withdraw operations.Deposit Liquidity
Deposit Liquidity
REST API
Get unsigned Solana transactions to deposit liquidity into a Kamino Lend market reserve. Returns transaction that must be signed client-side.TypeScript SDK
Build and execute deposit transactions directly on-chain.Rust Interface Crate
Build deposit instructions from a Rust client. Ideal for bots and backend services.
Get unsigned Solana transactions to deposit liquidity into a Kamino Lend market reserve. Returns transaction that must be signed client-side.
Build and execute deposit transactions directly on-chain.
Build deposit instructions from a Rust client. Ideal for bots and backend services.
Deposit into an Earn Vault
Deposit into an Earn Vault
TypeScript SDK
Build a vault deposit with the SDK.Rust Interface Crate
Build a vault deposit with the
Build a vault deposit with the SDK.
Build a vault deposit with the
kvault-interface crate. The helper derives the PDAs and per-reserve remaining accounts from the on-chain vault state.Borrow & Repay
Borrow & Repay
REST API
Get unsigned transactions for borrow and repay operations.TypeScript SDK
Build borrow and repay transactions directly.Rust Interface Crate
Build borrow instructions using
Get unsigned transactions for borrow and repay operations.
Build borrow and repay transactions directly.
Build borrow instructions using
ObligationContext which handles reserve refresh automatically.Vault Creation
Vault Creation
TypeScript SDK
Recommended Usage Patterns
Choose the right tool for your use case.Summary
Use the Kamino REST API for fast data integration, history tracking, and building unsigned transactions across any backend. Use the TypeScript SDK for advanced transaction composition, simulation, and vault creation with full on-chain control. Use the Rust interface crate for Rust-native clients, high-performance bots, and CPI from on-chain Solana programs.Relevant links
API Documentation
Explore REST API endpoints and response schemas
SDK Documentation
Learn how to integrate the TypeScript SDK
Lending Rust Crate
Lightweight Rust instruction builder for Kamino Lending clients and CPI
Vaults Rust Crate
Lightweight Rust instruction builder for Kamino Vaults clients and CPI
Borrow Operations
Step-by-step guides for deposit, withdraw, borrow, and repay
Earn Operations
Step-by-step guides for vault deposit and withdraw
SDK Examples
View code examples in the GitHub repository