@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:766
Properties
author
author: Hex;
Defined in: packages/sdk/src/comments/comment.ts:770
The author of the comment
chainId
chainId: number;
Defined in: packages/sdk/src/comments/comment.ts:780
The chain ID
commentsAddress?
optional commentsAddress: Hex;
Defined in: packages/sdk/src/comments/comment.ts:785
The address of the comments contract
Default
COMMENT_MANAGER_ADDRESS
edit
edit: EditCommentData;
Defined in: packages/sdk/src/comments/comment.ts:776
The edit data
You can obtain this by using the createEditCommentData()
function