Constructs a new ContractHash
instance.
The Hash
object representing the contract hash.
The original prefix of the contract hash string.
The hash object representing the contract.
The prefix of the original contract hash string, if any (e.g., "hash-", "contract-wasm-", "contract-").
Static
fromJSONCreates a ContractHash
instance from its JSON representation.
A new ContractHash
instance.
The JSON string representation of the ContractHash
.
Static
newCreates a new ContractHash
instance from a string representation.
A new ContractHash
instance.
The string representation of the contract hash.
Generated using TypeDoc
Represents a contract hash within the system, providing various prefixed representations.