java.lang.Object
com.hedera.hashgraph.sdk.EvmHookSpec
- Direct Known Subclasses:
EvmHook
Shared specifications for an EVM hook.
This class defines the source of EVM bytecode for a hook implementation. Currently, hooks can only be implemented by referencing an existing contract that implements the extension point API.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEvmHookSpec(ContractId contractId) Create a new EvmHookSpec that references a contract. -
Method Summary
-
Constructor Details
-
EvmHookSpec
Create a new EvmHookSpec that references a contract.- Parameters:
contractId- the ID of the contract that implements the hook
-
-
Method Details