/v1/treasury
Treasury composition for a protocol — own token vs real reserves, per chain
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/daotreasury-api/v1/treasury" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/daotreasury-api/v1/treasury", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/daotreasury-api/v1/treasury");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/daotreasury-api/v1/treasury",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "reserves_usd = real diversified holdings (stablecoins, ETH, etc.); own_token_usd = the DAO's own governance token. A higher reserves share means a healthier, less reflexive treasury.",
"slug": "uniswap",
"chains": [
{
"chain": "Ethereum",
"reserves": 1523.76,
"own_tokens": 686827569.13
},
{
"chain": "Total",
"reserves": 0,
"own_tokens": 686827569.13
}
],
"source": "DeFiLlama",
"protocol": "Uniswap",
"total_usd": 1373656662.02,
"chain_count": 2,
"reserves_pct": 0,
"reserves_usd": 1523.76,
"own_token_pct": 100,
"own_token_usd": 1373655138.26
},
"meta": {
"timestamp": "2026-06-14T08:04:22.056Z",
"request_id": "572918ee-ecb8-47bd-aa3c-95218d99c9ac"
},
"status": "ok",
"message": "DAO treasury retrieved successfully",
"success": true
}