/dydx

Scopes

Here you can find all the scopes available in this particular namespace.

WS
deposits

wss://api-v4.zerion.io/dydx
Example request [ "get", { "scope": ["deposits"], "payload": { "body parameter": "value" } } ]
Request
Response
Request
Body Parameters
address
optional
str
Default: -
currency
optional
enum
PriceCurrency: eth, btc, usd, eur, krw, rub, gbp, aud, cad, inr, jpy, nzd, try, zar, cny, chf. Default: usd
Response
200: OK
Successful result.
[
"received dydx deposits",
{
"meta": {
"status": "ok",
"request parameter1": "value1",
"request parameter2": "value2"
},
"payload": {
"deposits": List[DyDxAccountBalance]
}
}
]

WS
loans

wss://api-v4.zerion.io/dydx
Example request [ "get", { "scope": ["loans"], "payload": { "body parameter": "value" } } ]
Request
Response
Request
Body Parameters
address
optional
str
Default: -
currency
optional
enum
PriceCurrency: eth, btc, usd, eur, krw, rub, gbp, aud, cad, inr, jpy, nzd, try, zar, cny, chf. Default: usd
Response
200: OK
Successful result.
[
"received dydx loans",
{
"meta": {
"status": "ok",
"request parameter1": "value1",
"request parameter2": "value2"
},
"payload": {
"loans": List[DyDxAccountBalance]
}
}
]