toJSON method

CoinJSON toJSON()

Implementation

CoinJSON toJSON() {
  return CoinJSON(denom!, amount.toString());
}