@ecp.eth/sdk / comments / EditCommentWithSigParams
Type Alias: EditCommentWithSigParams
type EditCommentWithSigParams = {
appSignature: Hex;
authorSignature?: Hex;
commentsAddress?: Hex;
edit: EditCommentData;
fee?: bigint;
writeContract: ContractWriteFunctions["editCommentWithSig"];
};Defined in: packages/sdk/src/comments/comment.ts:891
Properties
appSignature
appSignature: Hex;Defined in: packages/sdk/src/comments/comment.ts:910
The app signature
authorSignature?
optional authorSignature: Hex;Defined in: packages/sdk/src/comments/comment.ts:914
The author signature. Necessary if the author hasn't approved the signer to edit comments on their behalf.
commentsAddress?
optional commentsAddress: Hex;Defined in: packages/sdk/src/comments/comment.ts:906
The address of the comments contract
Default
COMMENT_MANAGER_ADDRESSedit
edit: EditCommentData;Defined in: packages/sdk/src/comments/comment.ts:897
The edit data
You can obtain this by using the createEditCommentData() function
fee?
optional fee: bigint;Defined in: packages/sdk/src/comments/comment.ts:901
The fee for the edit operation
writeContract
writeContract: ContractWriteFunctions["editCommentWithSig"];Defined in: packages/sdk/src/comments/comment.ts:918
The write contract function