Skip to main content
GET
Python (SDK)

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

chain
enum<string>
default:base
required
Available options:
arbitrum,
base,
bsc,
ethereum,
tempo
owner
string
default:0x06A9aF046187895AcFc7258450B15397CAc67400
required

The address of the owner of the earn account.

Response

Successful Response

Response containing earn account balances and transfer history.

earn_account_address
string
required

The derived earn account address.

Example:

"0xA4Dc919c61fDAA100AC9aB8Fae4A2d725165C181"

balances
Balances · object

Token balances keyed by token symbol.

Example:
total_usd_value
string | null

Total USD value of all balances (sum of available values).

Example:

"72.57"