Single-Sided Staking statistics
curl --request GET \
--url https://api.saucerswap.finance/stats/sss \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.saucerswap.finance/stats/sss', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/stats/sss"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"avg5day": 0.0462,
"ratio": 1.1172,
"sauce": "242601707456381",
"timestampSeconds": "1697616900",
"xsauce": "217150119725425"
}Stats
REST API: Single-sided staking statistics
Retrieve single-sided staking statistics: the current xSAUCE to SAUCE ratio, 5-day average APR, and staked SAUCE and xSAUCE amounts in smallest units.
GET
/
stats
/
sss
Single-Sided Staking statistics
curl --request GET \
--url https://api.saucerswap.finance/stats/sss \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.saucerswap.finance/stats/sss', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/stats/sss"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"avg5day": 0.0462,
"ratio": 1.1172,
"sauce": "242601707456381",
"timestampSeconds": "1697616900",
"xsauce": "217150119725425"
}Authorizations
API key provisioned by the SaucerSwap team. Request one from [email protected] and send it in the x-api-key header with every request.
Headers
API key for authentication. Request a key from [email protected].
Example:
"YOUR_API_KEY"
Response
200 - application/json
Successful response
5-day average APR
Example:
0.0462
XSAUCE to SAUCE ratio
Example:
1.1172
SAUCE amount in its smallest unit
Example:
"242601707456381"
Unix timestamp in seconds
Example:
"1697616900"
XSAUCE amount in its smallest unit
Example:
"217150119725425"
Was this page helpful?