Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / comments / CreateDeleteCommentTypedDataParams

Type Alias: CreateDeleteCommentTypedDataParams

type CreateDeleteCommentTypedDataParams = {
  app: Hex;
  author: Hex;
  chainId: number;
  commentId: Hex;
  commentsAddress?: Hex;
  deadline?: bigint;
};

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

Properties

app

app: Hex;

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

The app signer


author

author: Hex;

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

The author of the comment


chainId

chainId: number;

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


commentId

commentId: Hex;

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


commentsAddress?

optional commentsAddress: Hex;

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

The address of the comments contract

Default

COMMENT_MANAGER_ADDRESS

deadline?

optional deadline: bigint;

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

The deadline of the comment

Default

1 day from now