@ecp.eth/sdk / comments / EditCommentParams
Type Alias: EditCommentParams
type EditCommentParams = {
appSignature: Hex;
commentsAddress?: Hex;
edit: EditCommentData;
fee?: bigint;
writeContract: ContractWriteFunctions["editComment"];
};Defined in: packages/sdk/src/comments/comment.ts:824
Properties
appSignature
appSignature: Hex;Defined in: packages/sdk/src/comments/comment.ts:843
The author signature.
commentsAddress?
optional commentsAddress: Hex;Defined in: packages/sdk/src/comments/comment.ts:839
The address of the comments contract
Default
COMMENT_MANAGER_ADDRESSedit
edit: EditCommentData;Defined in: packages/sdk/src/comments/comment.ts:830
The edit data
You can obtain this by using the createEditCommentData() function
fee?
optional fee: bigint;Defined in: packages/sdk/src/comments/comment.ts:834
The fee for the edit operation
writeContract
writeContract: ContractWriteFunctions["editComment"];Defined in: packages/sdk/src/comments/comment.ts:847
The write contract function