latest contributor to this doc

Last Edit: @smk762 ,

orderbook

orderbook base rel

The v2 orderbook method requests from the network the currently available orders for the specified trading pair.

StructureTypeDescription
basestringBase currency of a pair
relstringRelated currency, also known as the "quote currency"

StructureTypeDescription
basestringthe name of the coin the user desires to receive
relstringthe name of the coin the user will trade
numasksintegerthe number of outstanding asks
numbidsintegerthe number of outstanding bids
netidintegerthe id of the network on which the request is made (default is 8762)
asksarray of objectsan array of standard Order objects containing outstanding asks
bidsarray of objectsan array of standard Order objects containing outstanding bids
timestampintegerthe time the orderbook was requested
total_asks_base_volobjectA standard OrderAmount object.
total_asks_rel_volobjectA standard OrderAmount object.
total_bids_base_volobjectA standard OrderAmount object.
total_bids_rel_volobjectA standard OrderAmount object.

OrderAddress object structure

StructureTypeDescription
address_typestringGenerally Transparent, but may be Shielded for supporting coins.
address_datastringThe actual address text for sending and receiving funds.

OrderAmount object structure

StructureTypeDescription
decimalstring (decimal)Decimal numeric representation of the volume
rationalobjectRational number representation of the volume (num-rational crate format)
fractionobjectA FractionAmount object, representing the volume

FractionAmount object structure

StructureTypeDescription
numerstring (decimal)The numerator of the fraction
denomobjectThe denominator of the fraction

Order object structure

StructureTypeDescription
coinstringThe name of the base coin; the user desires this
addressobjectA standard OrderAddress object
priceobjectThe price in rel the user is willing to pay per one unit of the base coin
pubkeystringThe pubkey of the offer provider
uuidstringThe uuid of order
is_mineboolWhether the order is placed by me
conf_settingsobjectA standard ConfSettings object
base_max_volumeobjectA standard OrderAmount object representing the maximum base amount for this order
base_min_volumeobjectA standard OrderAmount object representing the minimum base amount for this order
rel_max_volumeobjectA standard OrderAmount object representing the maximum rel amount for this order
rel_min_volumeobjectA standard OrderAmount object representing the minimum rel amount for this order
base_max_volume_aggrobjectA standard OrderAmount object representing the maximum aggregated base amount at the specified price. The sum of max base volumes of the current order and all orders with a worse price.
rel_max_volume_aggrobjectA standard OrderAmount object representing the maximum aggregated rel amount at the specified price. The sum of max rel volumes of the current order and all orders with a worse price.

ConfSettings object structure

StructureTypeDescription
base_confsnumberthe confirmations settings of base coin set by the offer provider
base_notaboolthe notarisation settings of base coin set by the offer provider
rel_confsnumberthe confirmations settings of rel coin set by the offer provider
rel_notaboolthe notarisation settings of rel coin set by the offer provider

Orderbook

POST
orderbook
{
  "mmrpc": "2.0",
  "userpass": "testpsw",
  "method": "orderbook",
  "params": {
    "base": "DGB",
    "rel": "DASH"
  },
  "id": 42
}