DeFi Strategies
Strategies within deFi
Get strategies for the token
Get strategies for a token.
GET
https://api.web3watcher.fi/v1/strategies/bytoken/{token_symbol}
The method returns the list of strategies for your token.
Request Body
token_symbol*
string
The symbol (name) of the token
offset
int
the number of strategies displayed per page
pagination
int
num of page
token_amount
int
the amount of token to invest
period
int
period of investment in days
stop_criteria
[string]
Criteria to not include some strategy categories
Get health status by strategy id
Get health status for deFi(s) inside of the strategy.
GET
https://api.web3watcher.fi/v1/strategies/health/{strategy_id}/
The method returns the current health state of the strategy though deFi risk metrics.
Request Body
strategy_id*
string
The id of the strategy
offset
int
the number of risk factors per page
pagination
int
num of page
track_deFi
[string]
the list of deFi to receive risk factors by each of them
Get health status by strategy name
Get health status for deFi(s) inside of the strategy.
GET
https://api.web3watcher.fi/v1/strategies/health/{strategy_name}
The method returns the current health state of the strategy though deFi risk metrics.
Request Body
strategy_name*
string
The name of the strategy
offset
int
the number of risk factors per page
pagination
int
num of page
track_deFi
[string]
the list of deFi to receive risk factors by each of them
Last updated