useWithdraw
function useWithdraw(props?): UseMutationResult<TransactionReceipt, Error, UseWithdrawVariables, unknown>;Defined in: packages/synapse-react/src/payments/index.ts:184
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.