@ecp.eth/sdk / comments / GetCommentIdParams
Type Alias: GetCommentIdParams
type GetCommentIdParams = {
commentData: CreateCommentDataParams;
commentsAddress?: Hex;
readContract: ContractReadFunctions["getCommentId"];
};Defined in: packages/sdk/src/comments/comment.ts:242
Properties
commentData
commentData: CreateCommentDataParams;Defined in: packages/sdk/src/comments/comment.ts:246
The comment data to get ID for
commentsAddress?
optional commentsAddress: Hex;Defined in: packages/sdk/src/comments/comment.ts:251
The address of the comments contract
Default
COMMENT_MANAGER_ADDRESSreadContract
readContract: ContractReadFunctions["getCommentId"];Defined in: packages/sdk/src/comments/comment.ts:252