Skip to content

@ecp.eth/sdk


@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:753

Properties

author

author: Hex;

Defined in: packages/sdk/src/comments/comment.ts:757

The author of the comment


chainId

chainId: number;

Defined in: packages/sdk/src/comments/comment.ts:767

The chain ID


commentsAddress?

optional commentsAddress: Hex;

Defined in: packages/sdk/src/comments/comment.ts:772

The address of the comments contract

Default

COMMENT_MANAGER_ADDRESS

edit

edit: EditCommentData;

Defined in: packages/sdk/src/comments/comment.ts:763

The edit data

You can obtain this by using the createEditCommentData() function