@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:232
Properties
commentsAddress?
optional commentsAddress: Hex;Defined in: packages/sdk/src/comments/approval.ts:248
The address of the comments contract
Default
COMMENT_MANAGER_ADDRESSsignature
signature: Hex;Defined in: packages/sdk/src/comments/approval.ts:242
The signature of the author
typedData
typedData: RemoveApprovalTypedDataSchemaType;Defined in: packages/sdk/src/comments/approval.ts:238
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:249