Cascade
Account

Get Balance

Retrieve balance for an account

GET
/account/balance

Query Parameters

accountstring

Identifies the user whose balance is to be retrieved. Caller must be be authenticated as this account or a delegate.

subaccountIndex?string

Identifies the subaccount to retrieve balance for; leave empty to enumerate all subaccounts.

Response Body

application/json

text/plain

text/plain

curl -X GET "https://matcher.cascade.xyz/account/balance?account=0xdbdebced16f1378b4b39634581dcfe2de77556a1&subaccountIndex=0"
[
  {
    "account": "0xdbdebced16f1378b4b39634581dcfe2de77556a1",
    "balance": "25001.648",
    "subaccountIndex": 0,
    "updatedAt": 1703123456
  }
]
"Unauthorized"
"string"