latest contributor to this doc

Last Edit: @gcharang ,

get_locked_amount

The get_locked_amount method returns the amount of a coin which is currently locked by a swap which is in progress. If the coin is not activated, a NoSuchCoin error will be returned.

ParameterTypeDescription
coinstringThe ticker of the coin you want to query.

ParameterTypeDescription
coinstringThe ticker of the coin you queried.
locked_amountobjectAn object cointaining the locked amount in decimal, fraction and rational formats.
locked_amount.decimalnumeric stringThe locked amount in decimal format.
locked_amount.rationalrational objectThe locked amount in rational format.
locked_amount.fractionfraction objectThe locked amount in fraction format.

POST
get_locked_amount
{
  "userpass": "testpsw",
  "mmrpc": "2.0",
  "method": "get_locked_amount",
  "params": {
    "coin": "DOC"
  },
  "id": 42
}