DeFi

Wallet balances

Returns tokens balances for Enso Wallet associated with the given address across all supported chains. <br/>With useEoa set to true, it returns balances for the given EOA address instead.

get/api/v1/wallet/balances

Request

  • Base URL
    https://api.enso.build
  • URL
    https://api.enso.build/api/v1/wallet/balances
  • Auth
    none required

Query parameters

chainIdnumber
Example:1

Chain ID of the network to execute the transaction on

eoaAddressstring required

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

useEoaboolean required

If true returns balances for the provided eoaAddress, instead of the associated ensoWallet

Response

tokenstring required

The address of the token

amountstring required

The unformatted balance of the token

chainIdnumber required

Chain ID of the network

decimalsnumber required

The unformatted balance of the token

pricestring required

Price of the token in usd

namestring required

Name of the token

symbolstring required

Symbol of the token

logoUristring required

Logo of the token

Example response

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

Changes

No recorded changes to this operation across all 1 revision of this API.