Constructs a new ContractPackageHash instance.
The Hash object representing the contract package hash.
The original prefix of the contract package hash string, if applicable.
The hash object representing the contract package.
The original prefix of the contract package hash string, if any (e.g., "hash-", "contract-package-wasm-", "contract-package-").
Static fromJSONCreates a ContractPackageHash instance from its JSON representation.
A new ContractPackageHash instance.
The JSON string representation of the ContractPackageHash.
Static newCreates a new ContractPackageHash instance from a string representation.
A new ContractPackageHash instance.
The string representation of the contract package hash, including any prefix.
Generated using TypeDoc
Represents a contract package hash within the system, with support for prefixed and JSON representations.