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:596

Properties

app

app: Hex;

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

The app signer


author

author: Hex;

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

The author of the comment


chainId

chainId: number;

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


commentId

commentId: Hex;

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


commentsAddress?

optional commentsAddress: Hex;

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

The address of the comments contract

Default

COMMENT_MANAGER_ADDRESS

deadline?

optional deadline: bigint;

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

The deadline of the comment

Default

1 day from now