Skip to main content
POST
YieldGetAggregateBalances returns balances across multiple yields and networks.

Overview

YieldGetAggregateBalances returns a wallet’s active yield positions across one or more chains. Use this to show users their current DeFi holdings — principal, earned yield, and which markets they are in. The SDK’s useEarnBalances hook wraps this endpoint — prefer it in React apps.

Request Parameters

Each query object:
You can pass up to 25 queries per request, enabling multi-chain balance lookups in a single call.

Response

Returns payload containing balance records. Each balance entry includes:

Examples

Fetch balances on a single chain

Multi-chain balance lookup

SDK alternative

In React, use the useEarnBalances hook:

See also

Body

application/json
queries
object[]
required

[]YieldBalanceQuery

Response

OK

items
object[]
required

[]YieldBalances

errors
object[]
required

[]YieldError