@ecp.eth/sdk / comments / CreateCommentData
Type Alias: CreateCommentData
type CreateCommentData = {
app: `0x${string}`;
author: `0x${string}`;
channelId: bigint;
commentType: number;
content: string;
deadline: bigint;
metadata: {
key: `0x${string}`;
value: `0x${string}`;
}[];
parentId: `0x${string}`;
targetUri: string;
};
Defined in: packages/sdk/src/comments/schemas.ts:83
Type declaration
app
app: `0x${string}` = HexSchema;
author
author: `0x${string}` = HexSchema;
channelId
channelId: bigint;
commentType
commentType: number = CommentTypeSchema;
content
content: string;
deadline
deadline: bigint;
metadata
metadata: {
key: `0x${string}`;
value: `0x${string}`;
}[];
parentId
parentId: `0x${string}` = HexSchema;
targetUri
targetUri: string;