@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:890
Properties
appSignature
appSignature: Hex;
Defined in: packages/sdk/src/comments/comment.ts:909
The app signature
authorSignature?
optional authorSignature: Hex;
Defined in: packages/sdk/src/comments/comment.ts:913
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:905
The address of the comments contract
Default
COMMENT_MANAGER_ADDRESS
edit
edit: EditCommentData;
Defined in: packages/sdk/src/comments/comment.ts:896
The edit data
You can obtain this by using the createEditCommentData()
function
fee?
optional fee: bigint;
Defined in: packages/sdk/src/comments/comment.ts:900
The fee for the edit operation
writeContract
writeContract: ContractWriteFunctions["editCommentWithSig"];
Defined in: packages/sdk/src/comments/comment.ts:917
The write contract function