ykong
Rust client for Yearn's Kong GraphQL API.
Features
- Typed access to Yearn vault, strategy, price, TVL, and report data
- Async/await support with tokio
- Builder pattern for configuration
- Comprehensive error handling
Installation
[]
= "0.1"
Quick Start
use Client;
async
Supported Chains
| Chain ID | Network |
|---|---|
| 1 | Ethereum |
| 137 | Polygon |
| 42161 | Arbitrum |
| 10 | Optimism |
| 8453 | Base |
API Reference
client.vaults()- Vault queriesclient.strategies()- Strategy queriesclient.prices()- Price queriesclient.tvls()- TVL queriesclient.reports()- Report queries
Terms of Service
This is an unofficial client. By using this library, you agree to comply with Yearn Finance Terms of Service.
Disclaimer
This crate is not affiliated with or endorsed by Yearn Finance.
License
MIT