factory OutputMessage.fromJson(Map<String, dynamic> data) { return OutputMessage( recipient: addHexPrefix(data['recipient']), amount: parseBigInt(data['amount'])); }