@ecp.eth/sdk / comments / CreateEditCommentTypedDataParams
Type Alias: CreateEditCommentTypedDataParams
type CreateEditCommentTypedDataParams = {
author: Hex;
chainId: number;
commentsAddress?: Hex;
edit: EditCommentData;
};Defined in: packages/sdk/src/comments/comment.ts:767
Properties
author
author: Hex;Defined in: packages/sdk/src/comments/comment.ts:771
The author of the comment
chainId
chainId: number;Defined in: packages/sdk/src/comments/comment.ts:781
The chain ID
commentsAddress?
optional commentsAddress: Hex;Defined in: packages/sdk/src/comments/comment.ts:786
The address of the comments contract
Default
COMMENT_MANAGER_ADDRESSedit
edit: EditCommentData;Defined in: packages/sdk/src/comments/comment.ts:777
The edit data
You can obtain this by using the createEditCommentData() function