REST APIs for farms on SaucerSwap
Last updated 6 months ago
Access the SaucerSwap API using the following base URLs for testnet and mainnet environments:
Mainnet
Testnet
Previewnet
Not supported
/farms
curl -L \ --url '/farms'
[ { "id": 14, "poolId": 35, "sauceEmissions": 2.3062, "hbarEmissions": 0.0103, "totalStaked": "955338445589" } ]
/farms/totals/{accountId}
0.0.12345
curl -L \ --url '/farms/totals/{accountId}'
[ { "farmId": 14, "poolId": 35, "accountId": "0.0.12345", "timestamp": "1682469351.387795003", "staked": "95533844" } ]