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

Properties

app

app: Hex;

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

The app


commentId

commentId: Hex;

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

The ID of the comment to edit


content

content: string;

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

The content of the comment (either updated or original)


deadline?

optional deadline: bigint;

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

The deadline of the comment

Default

1 day from now

nonce

nonce: bigint;

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

The nonce for the signature