Get a wallet's earnings across all vaults on one chain
Returns the wallet’s earnings across every Morpho Vault V2 position it holds on the given chain, as a per-vault breakdown plus USD totals. Morpho only aggregates 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.
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"
EVM chain id to aggregate earnings on.
1 <= x <= 2147483647Response
Earnings across the wallet's vault positions on the chain
EVM chain id the earnings were aggregated on.
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.