latestOpenAPI 3.0.02026-08-2232150173.9 KB

b70d36b7002b

wallet

Returns all balances for a given wallet

get/api/v1/wallet/balances

Query parameters

eoaAddressstring required

Address of the eoa with which to associate the ensoWallet-v2 for balances

useEoaboolean required

If true returns balances for the provided address, instead of the associated ensoWallet-v2

integer required
OR
'all' required

Chain ID (or 'all') to fetch balances for specified network

Response

tokenstring required

The address of the token

amountstring required

The unformatted balance of the token

chainIdinteger required

Chain ID of the network

decimalsnumber required

The unformatted balance of the token

pricestring nullable required

Price of the token in usd

namestring nullable required

Name of the token

symbolstring nullable required

Symbol of the token

logoUristring nullable required

Logo of the token

Example response

[
  {
    "amount": "0x0000000",
    "decimals": 18,
    "price": "0.0"
  }
]