Yield Optimizer API v1
Gets Distribution allocation among the lending protocols, given by the ETHA algorithm.
Distribution Strategy
GET
https://ethalend.com/api/strategy/supply?asset=DAI&budget=1000&period=1h
Get Distribution allocation
Query Parameters
Name | Type | Description |
---|---|---|
asset | string | Requested asset (e.g. |
budget | string | Requested budget (e.g. |
period | string | Requested period (e.g. |
Redeem Strategy
GET
https://ethalend.com/api/strategy/redeem?symbol=DAI&amount=1&wallet 0x0ef017411cd16b7652e4F7365E1f2F5e61BdBB3b
Redeem allocation given by the ETHA algorithm
Query Parameters
Name | Type | Description |
---|---|---|
symbol | string | Requested symbol (e.g. |
amount | number | Requested amount (e.g. |
wallet | string | Requested wallet (e.g. |
Last updated