Converts the request to JSON representation.
@override Map<String, dynamic> toJson() { return {"tx_json": tx.toXrpl(), "fail_hard": failHard}; }