cURL
curl --request GET \ --url https://sandbox.groundtech.co/v2/wallets/{id}/yield \ --header 'Authorization: Bearer <token>'
{ "walletId": "b1c2d3e4-0000-4000-8000-000000000001", "earnedUsd": "250.000000", "currentBalanceUsd": "82500.000000", "yieldSources": [ { "yieldSourceId": "syrup-usdc", "name": "Syrup USDC", "type": "variable", "apyBps": 500, "allocationPct": 40 }, { "yieldSourceId": "usdz", "name": "Anzen USDz", "type": "fixed", "apyBps": 330, "allocationPct": 60 } ] }
Returns cumulative yield data and supporting metrics for a wallet. Use this to display “You’ve earned $X” and yield source APY breakdowns.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Wallet ID
Yield data for the wallet
Cumulative yield earned since wallet creation.
Current total wallet balance (principal + yield).
APY breakdown per yield source in the wallet's strategy.
Show child attributes