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