Account
Get Margin
Retrieve margin configuration for an account
AuthorizationBearer <token>
JWT token obtained from POST /auth endpoint
In: header
Query Parameters
accountstring
Identifies the user whose margin configuration is to be retrieved.
subaccountIndexinteger
Identifies the subaccount for which to retrieve margin configuration.
Format
int32Range
0 <= valuesymbol?string
Filter margin by market symbol; leave empty to query all markets.
Response Body
application/json
text/plain
text/plain
curl -X GET "https://engine.cascade.cooking/account/margin?account=0xf404cc91dec907f3d341e1e8d24a15018ae9ddf7&subaccountIndex=0&symbol=ETH-USD-PERP"[
{
"account": "0xf404cc91dec907f3d341e1e8d24a15018ae9ddf7",
"isolated": false,
"margin": "0.1",
"subaccountIndex": 0,
"symbol": "ETH-USD-PERP"
}
]"Unauthorized to query account 0xf4758f8ad7721bded5e6344ffa2cbc022e0e6e37""Symbol not found"