Skip to content

@ecp.eth/sdk


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

Function: estimateChannelPostCommentFee()

function estimateChannelPostCommentFee(estimatedChannelPostCommentHookFeeParams): Promise<TotalFeeEstimation>;

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

Best-effort estimation of the total fee for posting a comment to a channel

Parameters

estimatedChannelPostCommentHookFeeParams

Omit<EstimateChannelCommentActionFeeParams<typeof getEstimatedChannelPostCommentHookFee>, "commentActionFunc">

The parameters for estimating the fee for posting a comment to a channel

Returns

Promise<TotalFeeEstimation>

The estimated fee for posting a comment to a channel