cURL
curl --request GET \ --url https://lite-api.jup.ag/lend/v1/earn/earnings
{ "address": "<string>", "ownerAddress": "<string>", "totalDeposits": "<string>", "totalWithdraws": "<string>", "totalBalance": "<string>", "totalAssets": "<string>", "earnings": "<string>" }
Request for the earnings of one or multiple positions of a user
User wallet address
User token positions (comma-separated)
Successful response