SDK Philosophy
The avnu SDK is organized into three categories:-
Data Fetching (
get*methods): Essential for all integrations. Fetch quotes, orders, tokens, and market data. Examples:getQuotes(),getDcaOrders(),getTokens(),getMarketData() -
Simple Integration (
execute*methods): One-call solutions that handle everything automatically - approvals, building calls, and execution. Examples:executeSwap(),executeCreateDca(),executeStake() -
Advanced Integration (
*ToCallsmethods): Build Call[] objects for custom flows, multicalls, or manual execution. Examples:quoteToCalls(),createDcaToCalls(),stakeToCalls()
Products
Swap
Solver-optimized swaps that tackle complex routing problems in real-time to maximize net output.
DCA Orders
Recurring token purchases with automated execution and flexible scheduling.
Paymaster
Let users pay gas in any token, or sponsor their transactions entirely.
Markets
Real-time prices, liquidity depth, and volume data for all Starknet tokens.
Token List
Verified token metadata, logos, and contract addresses.
Smart contracts
avnu smart contracts
List all related avnu smart contracts(swap, staking, dca, …)
Resources
API Reference
REST API documentation
SDK
TypeScript/JavaScript SDK
dApp example
Complete avnu dApp integration
Support
Telegram community
AI Assistance
Coding with AI?
We provide a
CLAUDE.md file in our SDK repository. Use it to give your AI assistant full context on our codebase and patterns.