Map<String, dynamic> toJson() { return { 'tx_hash': txHash, 'cert_index': certIndex, 'action': action, }; }