Open Mustafa-Agha opened 7 months ago
Hey, @Mustafa-Agha the api that you show is token_approval_security
, but the one we actually use is token_security. We determine the specific risk level of a token based on certain fields in the returned content.
Based on the response from token_securtiy On which criteria do you use to get the 4 riskLevel?
I think it should be in documentation so that we understand the criteria better and why a token is risky and other is not?
I see that, in the app you calculate tokens security risk based on
riskLevel
which is :-but how do you determine if it's
VERIFIED
orWARN
orDANGER
fromapi.gopluslabs.io
For example if I called the following for USDT in chain-id = 1
then the response will be the following :-
And if you use the same api to call QNT with riskLevel = 0
You'll get the response :-
And if you use the same api to call cUSDC with riskLevel = 2
You'll get the response :-
From the above response how do you determine the
risk_level
?