@ecp.eth/sdk / comments / RevokeApprovalWithSigParams
Type Alias: RevokeApprovalWithSigParams
type RevokeApprovalWithSigParams = {
commentsAddress?: Hex;
signature: Hex;
typedData: RemoveApprovalTypedDataSchemaType;
writeContract: ContractWriteFunctions["removeApprovalWithSig"];
};
Defined in: packages/sdk/src/comments/approval.ts:222
Properties
commentsAddress?
optional commentsAddress: Hex;
Defined in: packages/sdk/src/comments/approval.ts:238
The address of the comments contract
Default
COMMENT_MANAGER_ADDRESS
signature
signature: Hex;
Defined in: packages/sdk/src/comments/approval.ts:232
The signature of the author
typedData
typedData: RemoveApprovalTypedDataSchemaType;
Defined in: packages/sdk/src/comments/approval.ts:228
The typed data for the removal
You can obtain this value by using createRemoveApprovalTypedData()
writeContract
writeContract: ContractWriteFunctions["removeApprovalWithSig"];
Defined in: packages/sdk/src/comments/approval.ts:239