Yield Optimizer API v1
Gets Distribution allocation among the lending protocols, given by the ETHA algorithm.
Last updated
Gets Distribution allocation among the lending protocols, given by the ETHA algorithm.
Last updated
GET
https://ethalend.com/api/strategy/supply?asset=DAI&budget=1000&period=1h
Get Distribution allocation
Name | Type | Description |
---|---|---|
GET
https://ethalend.com/api/strategy/redeem?symbol=DAI&amount=1&wallet 0x0ef017411cd16b7652e4F7365E1f2F5e61BdBB3b
Redeem allocation given by the ETHA algorithm
Name | Type | Description |
---|---|---|
asset
string
Requested asset (e.g. dai
, usdc
, usdt
, eth
)
budget
string
Requested budget (e.g. 100
, 250.23
, 300
)
period
string
Requested period (e.g. 1h
, 6h
, 12h
, 1d
, 1w
)
symbol
string
Requested symbol (e.g. dai
, usdc
, usdt
, eth
)
amount
number
Requested amount (e.g. 1
, 10
, 100
, 100.20
)
wallet
string
Requested wallet (e.g. 0x111..455
)