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.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
props? | UseWithdrawProps | The props for the withdraw. |
Returns
Section titled “Returns”UseMutationResult<TransactionReceipt, Error, UseWithdrawVariables, unknown>
The withdraw mutation.