Get mean staking yields
curl --request GET \
--url https://api.kamino.finance/v2/staking-yields/meanconst options = {method: 'GET'};
fetch('https://api.kamino.finance/v2/staking-yields/mean', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/v2/staking-yields/mean"
response = requests.get(url)
print(response.text)false[
{
"apy": "0.123",
"tokenMint": "J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn"
}
]{
"error": "An internal error occurred"
}Staking Yields
Get mean staking yields
Fetches staking yields and calculates mean (average) APY over the last 10 epochs
GET
/
v2
/
staking-yields
/
mean
Get mean staking yields
curl --request GET \
--url https://api.kamino.finance/v2/staking-yields/meanconst options = {method: 'GET'};
fetch('https://api.kamino.finance/v2/staking-yields/mean', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/v2/staking-yields/mean"
response = requests.get(url)
print(response.text)false[
{
"apy": "0.123",
"tokenMint": "J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn"
}
]{
"error": "An internal error occurred"
}