Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.kamino.finance/yields/principal-tokens
const options = {method: 'GET'}; fetch('https://api.kamino.finance/yields/principal-tokens', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "https://api.kamino.finance/yields/principal-tokens" response = requests.get(url) print(response.text)
false
[ { "apy": "0.2", "tokenMint": "So11111111111111111111111111111111111111112" } ]
{ "error": "An internal error occurred" }
Get current APY yields for principal tokens from various sources
OK
APY in decimal format (not percentage) represented as string. Multiply by 100 to get percentage (%) - 0.1 in API response is 10%.
"0.2"
Valid base58-encoded address of the token mint
"So11111111111111111111111111111111111111112"