Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / comments / BaseEditCommentDataParams

Type Alias: BaseEditCommentDataParams

type BaseEditCommentDataParams = {
  app: Hex;
  commentId: Hex;
  content: string;
  deadline?: bigint;
  nonce: bigint;
};

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

Properties

app

app: Hex;

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

The app


commentId

commentId: Hex;

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

The ID of the comment to edit


content

content: string;

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

The content of the comment (either updated or original)


deadline?

optional deadline: bigint;

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

The deadline of the comment

Default

1 day from now

nonce

nonce: bigint;

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

The nonce for the signature