@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:233
Properties
commentData
commentData: CreateCommentDataParams;
Defined in: packages/sdk/src/comments/comment.ts:237
The comment data to get ID for
commentsAddress?
optional commentsAddress: Hex;
Defined in: packages/sdk/src/comments/comment.ts:242
The address of the comments contract
Default
COMMENT_MANAGER_ADDRESS
readContract
readContract: ContractReadFunctions["getCommentId"];
Defined in: packages/sdk/src/comments/comment.ts:243