Skip to content

useRevokeOperator

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

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

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

ParameterTypeDescription
props?RevokeOperatorPropsThe props for the deposit. RevokeOperatorProps

UseMutationResult<TransactionReceipt, Error, void, unknown>

The deposit mutation.