Money Dictionary

{
  "asset": {
    "currency": "BTC",
    "amount": "1.00000000"
  },
  "settlement": {
    "currency": "USD",
    "amount": "11824.23"
  }
  ...
}

Money values for fiat and crypto currencies are represented as a dictionary with currency and amount fields.

Fiat currencies and cryptocurrencies have different decimal precision, be careful when parsing these values using the precision that corresponds with the given currency.


Did this page help you?