Skip to content

useApproveOperator

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

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

Approve a service contract to act as an operator for payment rails.

ParameterTypeDescription
props?ApproveOperatorPropsThe props for the deposit.

UseMutationResult<TransactionReceipt, Error, void, unknown>

The deposit mutation.