Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / comments / GetCommentParams

Type Alias: GetCommentParams

type GetCommentParams = {
  commentId: Hex;
  commentsAddress?: Hex;
  readContract: ContractReadFunctions["getComment"];
};

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

Properties

commentId

commentId: Hex;

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

The ID of the comment to get


commentsAddress?

optional commentsAddress: Hex;

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

The address of the comments contract

Default

COMMENT_MANAGER_ADDRESS

readContract

readContract: ContractReadFunctions["getComment"];

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