curl "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/stats"
const response = await fetch(
'https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/stats'
);
const data = await response.json();
{
"total_balance": 15000000.50,
"total_deposits": 14500000.00,
"total_users": 1250,
"total_transactions": 45000,
"total_apr": 5.8,
"liquidity_distribution": {
"initial_deposits": [
{"token": "USDC", "amount": 14500000}
],
"current_tokens": [
{"token": "USDC", "amount": 15000000}
],
"protocols": [
{
"protocol": "aave",
"balances": [{"token": "USDC", "amount": 8000000}]
},
{
"protocol": "compound",
"balances": [{"token": "USDC", "amount": 7000000}]
}
]
}
}
Statistics
Get Statistics
Get platform statistics
GET
/
api
/
v1
/
{chain_id}
/
stats
curl "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/stats"
const response = await fetch(
'https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/stats'
);
const data = await response.json();
{
"total_balance": 15000000.50,
"total_deposits": 14500000.00,
"total_users": 1250,
"total_transactions": 45000,
"total_apr": 5.8,
"liquidity_distribution": {
"initial_deposits": [
{"token": "USDC", "amount": 14500000}
],
"current_tokens": [
{"token": "USDC", "amount": 15000000}
],
"protocols": [
{
"protocol": "aave",
"balances": [{"token": "USDC", "amount": 8000000}]
},
{
"protocol": "compound",
"balances": [{"token": "USDC", "amount": 7000000}]
}
]
}
}
Description
Retrieves aggregate statistics for the Giza platform on a specific chain.Path Parameters
Response
curl "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/stats"
const response = await fetch(
'https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/stats'
);
const data = await response.json();
{
"total_balance": 15000000.50,
"total_deposits": 14500000.00,
"total_users": 1250,
"total_transactions": 45000,
"total_apr": 5.8,
"liquidity_distribution": {
"initial_deposits": [
{"token": "USDC", "amount": 14500000}
],
"current_tokens": [
{"token": "USDC", "amount": 15000000}
],
"protocols": [
{
"protocol": "aave",
"balances": [{"token": "USDC", "amount": 8000000}]
},
{
"protocol": "compound",
"balances": [{"token": "USDC", "amount": 7000000}]
}
]
}
}