web3research.common.Hash
- class web3research.common.Hash(hash: str | None, hash_hex: str | None = None)
Hash is a class for representing a hash.
- Parameters:
hash (Optional[str])
hash_hex (Optional[str])
- __repr__()
- __eq__(other)
- __hash__()
- string(chain_style: ChainStyle)
Return the hash string.
- Args:
chain_style (ChainStyle): The chain style.
- Returns:
str: The hash string.
- Parameters:
chain_style (ChainStyle)