Skip to content

useRevokeOperator

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

Defined in: packages/synapse-react/src/payments/index.ts:321

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.