Skip to content

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.

ParameterTypeDescription
props?UseWithdrawPropsThe props for the withdraw.

UseMutationResult<TransactionReceipt, Error, UseWithdrawVariables, unknown>

The withdraw mutation.