cURL
curl --request GET \ --url https://{environment}.garden.finance/v2/apps/earnings \ --header 'garden-app-id: <api-key>'
{ "status": "Ok", "result": [ { "total_earnings": "15075000000", "total_earnings_usd": "15075", "affiliate": "0x004Cc75ACF4132Fc08cB6a252E767804F303F729", "asset": "ethereum:usdc", "token_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "claim_amount": "5075000000", "claim_amount_usd": "5075", "claim_signature": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1b", "claim_contract": "0x5EbEC4D8DA437b2BAD656D43d40fE412bA5D217a" }, { "total_earnings": "30000000", "total_earnings_usd": "30000", "affiliate": "0x004Cc75ACF4132Fc08cB6a252E767804F303F729", "asset": "ethereum:cbbtc", "token_address": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf" } ] }
Documentation IndexFetch the complete documentation index at: https://docs.garden.finance/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.garden.finance/llms.txt
Use this file to discover all available pages before exploring further.
If you do not yet have an app ID, please follow these steps.
List of affiliate earnings.
Show child attributes
Ok
Error
Was this page helpful?