Skip to content

useWithdraw

useWithdraw(props?): UseMutationResult<TransactionReceipt, Error, UseWithdrawVariables, unknown>

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

Withdraw ERC20 tokens from the payments contract.

ParameterTypeDescription
props?UseWithdrawPropsThe props for the withdraw.

UseMutationResult<TransactionReceipt, Error, UseWithdrawVariables, unknown>

The withdraw mutation.