@ecp.eth/sdk / channel-manager / getEstimatedChannelEditCommentHookFee
Function: getEstimatedChannelEditCommentHookFee()
function getEstimatedChannelEditCommentHookFee(getEstimateChannelEditCommentHookFeeParams): Promise<HookFeeEstimation>;
Defined in: packages/sdk/src/channel-manager/channel.ts:742
It calls the estimateEditCommentFee
function on the hook to retrieve the estimated fee for editing a comment to a channel.
It also tries to probe if the hook is any known legacy hook and return corresponding fee estimation.
For estimation of total fee, use the estimateChannelEditCommentFee
helper
Parameters
getEstimateChannelEditCommentHookFeeParams
GetEstimatedChannelEditCommentHookFeeParams
The parameters for estimating the fee for editing a comment to a channel
Returns
Promise
<HookFeeEstimation
>
The estimated fee for editing a comment to a channel