Cascade
Account

Get Margin

Retrieve margin configuration for an account

GET
/account/margin

Query Parameters

accountstring

Identifies the user whose margin configuration is to be retrieved.

subaccountIndexstring

Identifies the subaccount for which to retrieve margin configuration.

symbol?string

Filter margin by market symbol; leave empty to query all markets.

Response Body

application/json

text/plain

text/plain

curl -X GET "https://matcher.cascade.xyz/account/margin?account=0xf404cc91dec907f3d341e1e8d24a15018ae9ddf7&subaccountIndex=0&symbol=ETHUSD"
[
  {
    "account": "0xf404cc91dec907f3d341e1e8d24a15018ae9ddf7",
    "isolated": false,
    "margin": "0.1",
    "subaccountIndex": 0,
    "symbol": "ETHUSD"
  }
]
"Unauthorized to query account 0xf4758f8ad7721bded5e6344ffa2cbc022e0e6e37"
"Symbol not found"