Skip to main content

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 (*ToCalls methods): Build Call[] objects for custom flows, multicalls, or manual execution. Examples: quoteToCalls(), createDcaToCalls(), stakeToCalls()

Products

Smart contracts

avnu smart contracts

List all related avnu smart contracts(swap, staking, dca, …)

Resources

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.