Skip to content

useWithdraw

useWithdraw(props?): UseMutationResult<TransactionReceipt, Error, { amount: bigint; from?: `0x${string}`; }, unknown>

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

Withdraw ERC20 tokens from the payments contract.

ParameterTypeDescription
props?WithdrawPropsThe props for the deposit.

UseMutationResult<TransactionReceipt, Error, { amount: bigint; from?: `0x${string}`; }, unknown>

The deposit mutation.