orderbook
orderbook base rel
The orderbook method requests from the network the currently available orders for the specified trading pair.
| Structure | Type | Description | 
|---|---|---|
| base | string | Base currency of a pair | 
| rel | string | Related currency, also known as the "quote currency" | 
| Structure | Type | Description | 
|---|---|---|
| asks | array of objects | An array of standard OrderDataV1 objects containing outstanding asks | 
| bids | array of objects | An array of standard OrderDataV1 objects containing outstanding bids | 
| numasks | number | the number of outstanding asks | 
| numbids | number | the number of outstanding bids | 
| base | string | the name of the coin the user desires to receive | 
| rel | string | the name of the coin the user will trade | 
| timestamp | number | the timestamp of the orderbook request | 
| netid | number | the id of the network on which the request is made (default is 0) | 
| total_asks_base_vol | string (decimal) | the base volumes sum of all asks | 
| total_asks_base_vol_rat | rational | the total_asks_base_vol represented as a standard RationalValue object. | 
| total_asks_base_vol_fraction | fraction | the total_asks_base_vol represented as a standard FractionalValue object. | 
| total_asks_rel_vol | string (decimal) | the rel volumes sum of all asks | 
| total_asks_rel_vol_rat | rational | the total_asks_rel_vol represented as a standard RationalValue object. | 
| total_asks_rel_vol_fraction | fraction | the total_asks_rel_vol represented as a standard FractionalValue object. | 
| total_bids_base_vol | string (decimal) | the base volumes sum of all bids | 
| total_bids_base_vol_rat | rational | the total_bids_base_vol represented as a standard RationalValue object. | 
| total_bids_base_vol_fraction | fraction | the total_bids_base_vol represented as a standard FractionalValue object. | 
| total_bids_rel_vol | string (decimal) | the rel volumes sum of all bids | 
| total_bids_rel_vol_rat | rational | the total_bids_rel_vol represented as a standard RationalValue object. | 
| total_bids_rel_vol_fraction | fraction | the total_bids_rel_vol represented as a standard FractionalValue object. | 
Orderbook
POST
orderbook{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "orderbook",
  "base": "HELLO",
  "rel": "WORLD"
}