Get the LARI rewards for the current epoch by account id
curl --request GET \
--url https://api.saucerswap.finance/v2/rewards/account/{accountId} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.saucerswap.finance/v2/rewards/account/{accountId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/v2/rewards/account/{accountId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"poolId": 3,
"timestampSeconds": 1750971600,
"tokenId": "0.0.731861",
"reward": 8.658995217249792,
"isFinal": false
}
]Pools V2
REST API: LARI rewards by account
Retrieve estimated LARI rewards accrued by a Hedera account for the current epoch, updated hourly, with pool id, token id, and an epoch-final flag.
GET
/
v2
/
rewards
/
account
/
{accountId}
Get the LARI rewards for the current epoch by account id
curl --request GET \
--url https://api.saucerswap.finance/v2/rewards/account/{accountId} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.saucerswap.finance/v2/rewards/account/{accountId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/v2/rewards/account/{accountId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"poolId": 3,
"timestampSeconds": 1750971600,
"tokenId": "0.0.731861",
"reward": 8.658995217249792,
"isFinal": false
}
]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"
Path Parameters
Hedera account id (shard.realm.num)
Example:
"0.0.12345"
Response
200 - application/json
Successful response
Pool id
Example:
3
Timestamp in unix seconds
Example:
1750971600
Token id (shard.realm.num)
Example:
"0.0.731861"
Estimated accrued token reward for the current epoch, updated hourly
Example:
8.658995217249792
Indicates whether the epoch has concluded. Returns true if the epoch is complete
Example:
false
Was this page helpful?