Try it Live
Run Bytecode examples in the interactive playground
- Namespace API
- Factory API
- C
Bytecode.hash(code): Hash
Compute keccak256 hash of bytecode (with auto-injected crypto).Parameters:code: BrandedBytecode- Bytecode to hash
HashType - Bytecode hash (32 bytes)Example:
