Portals Logo

Documentation
Concepts
Accounts

Accounts

Account Balances

The Portals API also keeps track of both EOA (externally owned account) and smart contract balances for all of our supported tokens. These balances represent the holdings of a particular address at the time of the request.

All account balances are returned from a single endpoint and can be filtered by network. The accounts object is composed of the LP, Basic, and Native token objects described previously, in addition to the following properties:

PropExampleDescription
balance1000.0246396145311The (decimal converted) quantity of this token held by this account
balanceUSD1301562.07The USD balance of this token held by this account
rawBalance"1000024639614531172457"The raw (non decimal converted) quantity of this token held by this account