Get list of active farms
curl --request GET \
--url https://api.saucerswap.finance/farmsconst options = {method: 'GET'};
fetch('https://api.saucerswap.finance/farms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/farms"
response = requests.get(url)
print(response.text)[
{
"id": 14,
"poolId": 35,
"sauceEmissions": 2.3062,
"hbarEmissions": 0.0103,
"totalStaked": "955338445589"
}
]Farms
REST API: List active farms
List all active SaucerSwap yield farms with farm and pool ids, SAUCE and HBAR emission rates per minute, and total staked LP token amounts per farm.
GET
/
farms
Get list of active farms
curl --request GET \
--url https://api.saucerswap.finance/farmsconst options = {method: 'GET'};
fetch('https://api.saucerswap.finance/farms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/farms"
response = requests.get(url)
print(response.text)[
{
"id": 14,
"poolId": 35,
"sauceEmissions": 2.3062,
"hbarEmissions": 0.0103,
"totalStaked": "955338445589"
}
]Response
200 - application/json
Successful response
Was this page helpful?