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:
Prop | Example | Description |
---|---|---|
balance | 1000.0246396145311 | The (decimal converted) quantity of this token held by this account |
balanceUSD | 1301562.07 | The USD balance of this token held by this account |
rawBalance | "1000024639614531172457" | The raw (non decimal converted) quantity of this token held by this account |