Skip to main content

ContractInterceptor class

Allows overriding transaction behavior for this contract

Signature:

export declare class ContractInterceptor<TContract extends BaseContract>

Constructors

ConstructorModifiersDescription
(constructor)(contractWrapper)Constructs a new instance of the ContractInterceptor class

Methods

MethodModifiersDescription
overrideNextTransaction(hook)The next transaction executed will add/replace any overrides passed via the passed in hook.