Converts the data to a JSON representation.
@override Map<String, dynamic> toJson() { return {"tx_bytes": BytesUtils.toHexString(txBytes)}; }