Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / comments / EditCommentData

Type Alias: EditCommentData

type EditCommentData = {
  app: `0x${string}`;
  commentId: `0x${string}`;
  content: string;
  deadline: bigint;
  metadata: string;
  nonce: bigint;
};

Defined in: packages/sdk/src/comments/schemas.ts:156

Edit comment data schema. This is used as input of the functions.

Type declaration

app

app: `0x${string}` = HexSchema;

commentId

commentId: `0x${string}` = HexSchema;

content

content: string;

deadline

deadline: bigint;

metadata

metadata: string = CommentMetadataSchema;

nonce

nonce: bigint;