Deserializes proofs from JSON back into typed Proof objects, restoring amount as
Amount without silent precision loss. Accepts amounts as JSON numbers or decimal strings.
Pass a string[] (individual proof JSON strings) when reading from NutZap proof tags or a
database.
Pass a string (a JSON array) when reading from a single stored blob e.g. localStorage.
Pass a ProofLike[] of already-parsed proof objects for legacy data or database rows.
Deserializes proofs from JSON back into typed Proof objects, restoring
amountas Amount without silent precision loss. Accepts amounts as JSON numbers or decimal strings.string[](individual proof JSON strings) when reading from NutZap proof tags or a database.string(a JSON array) when reading from a single stored blob e.g. localStorage.ProofLike[]of already-parsed proof objects for legacy data or database rows.