@ecp.eth/sdk / comments / DeleteCommentParams
Type Alias: DeleteCommentParams
type DeleteCommentParams = {
commentId: Hex;
commentsAddress?: Hex;
writeContract: ContractWriteFunctions["deleteComment"];
};Defined in: packages/sdk/src/comments/comment.ts:280
Properties
commentId
commentId: Hex;Defined in: packages/sdk/src/comments/comment.ts:284
The ID of the comment to delete
commentsAddress?
optional commentsAddress: Hex;Defined in: packages/sdk/src/comments/comment.ts:289
The address of the comments contract
Default
COMMENT_MANAGER_ADDRESSwriteContract
writeContract: ContractWriteFunctions["deleteComment"];Defined in: packages/sdk/src/comments/comment.ts:290