Map<String, dynamic> toJson() { return {'address': address, 'amount': amount, 'path': path, 'value': value}; }