Skip to content

useRevokeOperator

useRevokeOperator(props?): UseMutationResult<TransactionReceipt, Error, void, unknown>

Defined in: packages/iso-filecoin-synapse/src/hooks/payments/index.ts:346

Revoke the operator to deposit and withdraw ERC20 tokens from the payments contract.

ParameterTypeDescription
props?RevokeOperatorPropsThe props for the deposit.

UseMutationResult<TransactionReceipt, Error, void, unknown>

The deposit mutation.