Get all balances
GET/v1/admin/balances
Get all balances
This endpoint retrieves the total balance of all tokens across various networks for all accounts within the system. It requires administrative privileges to access. This endpoint returns a JSON object containing the token balances and their USD equivalents.
Responses
- 200
- 403
- 500
Balances retrieved successfully
- application/json
- Schema
- Example (from schema)
Schema
tokens objectrequired
property name* AdminPanelToken
name stringrequired
symbol stringrequired
total_balance doublerequired
total_balance_usd doublerequired
{
"tokens": {}
}
User is not admin
- text/plain
- Schema
Schema
string
Unexpected error
- text/plain
- Schema
Schema
string
Loading...