Get summary of the KVault program earnings
curl --request GET \
--url https://api.kamino.finance/kvaults/summaryconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kvaults/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/kvaults/summary"
response = requests.get(url)
print(response.text)false{
"earnings": {
"interest": {
"usd": "1234.56789",
"sol": "1234.56789"
},
"rewards": {
"usd": "1234.56789",
"sol": "1234.56789"
},
"reserveRewards": {
"usd": "1234.56789",
"sol": "1234.56789"
},
"total": {
"usd": "1234.56789",
"sol": "1234.56789"
}
}
}{
"error": "An internal error occurred"
}Vault Data
Get summary of the KVault program earnings
Get an aggregated all-time summary of all Kamino Earn Vault rewards and interest earned, in SOL and USD
GET
/
kvaults
/
summary
Get summary of the KVault program earnings
curl --request GET \
--url https://api.kamino.finance/kvaults/summaryconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kvaults/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/kvaults/summary"
response = requests.get(url)
print(response.text)false{
"earnings": {
"interest": {
"usd": "1234.56789",
"sol": "1234.56789"
},
"rewards": {
"usd": "1234.56789",
"sol": "1234.56789"
},
"reserveRewards": {
"usd": "1234.56789",
"sol": "1234.56789"
},
"total": {
"usd": "1234.56789",
"sol": "1234.56789"
}
}
}{
"error": "An internal error occurred"
}