Withdraw
Aave V2 Action Plugin - Withdraw
Description
Withdraws amount
of the underlying asset
, i.e. redeems the underlying token and burns the aTokens.
Method
withdraw(address, uint256, address)
Input Parameters
No required parameters.
Method Parameters
Name | Plugin Type | Description |
---|---|---|
asset |
| Address of the underlying asset |
amount |
| Amount deposited |
to |
| Address that will receive the |
Returned Values
No returned values
Example
Example with initParams
Example without initParams
Learn more
Learn more about Aave V2 withdraw function here
Last updated