Stats
Get Total Supply of S
Returns the current amount of S in circulation.
https://api-testnet.sonicscan.org/api
?module=stats
&action=ethsupply
&apikey=YourApiKeyToken
Try this endpoint in your browser
Sample Response
{
"status":"1",
"message":"OK",
"result":"77523186686500000000000000"
}
Get S Last Price
Returns the latest price of 1 S.
https://api-testnet.sonicscan.org/api
?module=stats
&action=ethprice
&apikey=YourApiKeyToken
Try this endpoint in your browser
Sample Response
{
"status":"1",
"message":"OK",
"result":{
"ethbtc":"0.06906",
"ethbtc_timestamp":"1652444393",
"ethusd":"2110.63",
"ethusd_timestamp":"1652444395"
}
}