max_maker_vol
The max_maker_vol
method returns the maximum volume of a coin which can be used to create a maker order (taking into account estimated fees). If the coin is not activated, a NoSuchCoin
error will be returned.
Parameter | Type | Description |
---|---|---|
coin | string | The ticker of the coin you want to query. |
Parameter | Type | Description |
---|---|---|
coin | string | The ticker of the coin you queried. |
volume | object | An object cointaining the tradable maker volume in decimal, fraction and rational formats. |
volume.decimal | numeric string | The tradable maker volume in decimal format. |
volume.rational | rational object | The tradable maker volume in rational format. |
volume.fraction | fraction object | The tradable maker volume in fraction format. |
balance | object | An object cointaining the locked amount in decimal, fraction and rational formats. |
balance.decimal | numeric string | The coin balance in decimal format. |
balance.rational | rational object | The coin balance in rational format. |
balance.fraction | fraction object | The coin balance in fraction format. |
locked_by_swaps | object | An object cointaining the volume of a coin's balance which is locked by swaps in progress in decimal, fraction and rational formats. |
locked_by_swaps.decimal | numeric string | The locked by swaps amount in decimal format. |
locked_by_swaps.rational | rational object | The locked by swaps amount in rational format. |
locked_by_swaps.fraction | fraction object | The locked by swaps amount in fraction format. |
POST
max_maker_vol{
"userpass": "testpsw",
"mmrpc": "2.0",
"method": "max_maker_vol",
"params": {
"coin": "DOC"
}
}