toJson method

  1. @override
Map<String, dynamic> toJson()
override

Converts the request to JSON representation.

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "tx_json": transaction.toXrpl(),
    "secret": secret,
    "seed": seed,
    "seed_hex": seedHex,
    "passphrase": passphrase,
    "key_type": keyType?.curveType.name,
    "offline": offline,
    "build_path": buildPath,
    "fee_mult_max": feeMulMax,
    "fee_div_max": feeDivMax
  };
}