orderbook_depth
orderbook_depth pairs
The orderbook_depth
method returns the number of asks and bids for the specified trading pairs.
Structure | Type | Description |
---|---|---|
pairs | array | an array of trading pairs |
The pairs in the response are not guaranteed to be in the order of pairs in the request.
Structure | Type | Description |
---|---|---|
result | array of PairDepth | an array of pair depth objects |
Where PairDepth
object structure is as follows
Structure | Type | Description |
---|---|---|
pair | array of 2 strings | the orderbook pair |
depth.asks | number | the number of asks |
depth.bids | number | the number of bids |
POST
orderbook_depth{
"userpass": "RPC_UserP@SSW0RD",
"method": "orderbook_depth",
"pairs": [
[
"DOC",
"MARTY"
],
[
"BTC",
"KMD"
],
[
"DOGE",
"KMD"
]
]
}