Vault API
Protocol Statistics
Get Protocol Stats
// Public endpoint - no authentication required
const stats = await sdk.vault.getProtocolStats();
console.log(`Total TVL: ${stats.stats.totalTvl}`);
console.log(`Max APY: ${stats.stats.maxApy}`);
console.log(`Total Users: ${stats.stats.totalUsers}`);
console.log(`Total Fund Managers: ${stats.stats.totalFundManagers}`);
console.log(`YPO: ${stats.stats.ypo}`);Get Strategies
// Public endpoint
const strategies = await sdk.vault.getStrategies();
console.log(`Available strategies: ${strategies.strategies.join(", ")}`);
// Example output: ["DeFi", "Trading", "Lending", ...]Refresh Protocol Stats
Vault Information
Get All Vaults
Get Vault by Key
Get Vault by Symbol
Get Private Vault
Get Vault Details
Get Vault FAQs
Whitelisted Assets
Get Whitelisted Assets
Get Whitelisted Asset
Check Asset Whitelisted
Add Whitelisted Asset
Remove Whitelisted Asset
Transactions
Get Transactions
Get Transaction by ID
Get Transaction by Hash
Get Transaction Filter Options
Complete Example
Next Steps
Last updated