Get a wallet's earnings across all vaults on one chain
Returns the wallet’s earnings across every yield-vault position it holds on the given chain, as a per-vault breakdown plus USD totals. chainName selects the chain family — EVM covers Morpho and Aave vaults, SOL covers Kamino vaults — and defaults to EVM; chainId selects the chain within it. Providers only aggregate within a single chain, so chainId is required. Totals are USD-denominated because each vault’s earnings are expressed in its own underlying asset and are therefore not additive. Positions in vaults this environment does not offer are still included, with a null vaultId. Aave reports no earnings, so its positions carry null pnl, pnlUsd and roe; Kamino reports no time-weighted return, so its positions carry a null roe.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the environment
36^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"95b11417-f18f-457f-8804-68e361f9164f"
Query Parameters
Wallet address whose earnings to query. Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
255^[A-Za-z0-9_-]{18,100}$"0xbF394748301603f18d953C90F0b087CBEC0E1834"
Chain id to aggregate earnings on: an EVM chain id for chainName=EVM, or the Solana cluster id for chainName=SOL (101 for mainnet, the only Solana cluster with earnings data).
1 <= x <= 2147483647Chain family of ownerAddress and chainId. Only EVM and SOL are supported; any other value is rejected with a 400. Defaults to EVM so existing callers are unaffected.
ETH, EVM, FLOW, SOL, ALGO, STARK, COSMOS, BTC, ECLIPSE, SUI, SPARK, TRON, APTOS, TON, STELLAR, ALEO, TEMPO, MIDNIGHT Response
Earnings across the wallet's vault positions on the chain
Chain id the earnings were aggregated on: an EVM chain id, or the Solana cluster id.
Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
255^[A-Za-z0-9_-]{18,100}$"0xbF394748301603f18d953C90F0b087CBEC0E1834"
Sum of the USD position sizes. Vaults with no USD price are skipped rather than counted as zero.
Sum of the USD earnings. Vaults with no USD price are skipped rather than counted as zero.
Per-vault breakdown behind the totals.