Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / channel-manager / setHook

Function: setHook()

function setHook(params): Promise<SetHookResult>;

Defined in: packages/sdk/src/channel-manager/hook.ts:41

Set the hook for a channel

Parameters

params

SetHookParams

The parameters for setting the hook for a channel

Returns

Promise<SetHookResult>

The transaction hash of the set hook