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

Properties

app

app: Hex;

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

The app


commentId

commentId: Hex;

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

The ID of the comment to edit


content

content: string;

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

The content of the comment (either updated or original)


deadline?

optional deadline: bigint;

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

The deadline of the comment

Default

1 day from now

nonce

nonce: bigint;

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

The nonce for the signature