@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:271
Properties
commentId
commentId: Hex;
Defined in: packages/sdk/src/comments/comment.ts:275
The ID of the comment to delete
commentsAddress?
optional commentsAddress: Hex;
Defined in: packages/sdk/src/comments/comment.ts:280
The address of the comments contract
Default
COMMENT_MANAGER_ADDRESS
writeContract
writeContract: ContractWriteFunctions["deleteComment"];
Defined in: packages/sdk/src/comments/comment.ts:281