@ecp.eth/sdk / comments / ADD_COMMENT_TYPE
Variable: ADD_COMMENT_TYPE
const ADD_COMMENT_TYPE: {
AddComment: readonly [{
name: "content";
type: "string";
}, {
name: "metadata";
type: "MetadataEntry[]";
}, {
name: "targetUri";
type: "string";
}, {
name: "commentType";
type: "uint8";
}, {
name: "author";
type: "address";
}, {
name: "app";
type: "address";
}, {
name: "channelId";
type: "uint256";
}, {
name: "deadline";
type: "uint256";
}, {
name: "parentId";
type: "bytes32";
}];
MetadataEntry: readonly [{
name: "key";
type: "bytes32";
}, {
name: "value";
type: "bytes";
}];
};
Defined in: packages/sdk/src/comments/eip712.ts:11
Type declaration
AddComment
readonly AddComment: readonly [{
name: "content";
type: "string";
}, {
name: "metadata";
type: "MetadataEntry[]";
}, {
name: "targetUri";
type: "string";
}, {
name: "commentType";
type: "uint8";
}, {
name: "author";
type: "address";
}, {
name: "app";
type: "address";
}, {
name: "channelId";
type: "uint256";
}, {
name: "deadline";
type: "uint256";
}, {
name: "parentId";
type: "bytes32";
}];
MetadataEntry
readonly MetadataEntry: readonly [{
name: "key";
type: "bytes32";
}, {
name: "value";
type: "bytes";
}];