flashLoan
This method enables users to request flash loans from Dexfai.
Function
Parameters
Parameter | Description |
---|---|
| An ERC20 token address. Token must have already a pool. |
| The amount of tokens for the flash loan. |
| The amount of weth for the flash loan. |
| The address of the recipient that receives the flash loan. |
| the additional bytes data used for the flash loan. |
Last updated