Map<String, dynamic> toJson() { return { "txId": originalTxId, "uPoP": upopTx.asHex, "uPoPHash": uPoPHash.toHex, "pops": [ for (final pop in pops) pop.toHex, ], }; }