Get Estimated Rewards in USD
Get estimated rewards for a specific token pool address.
Last updated
Get estimated rewards for a specific token pool address.
Last updated
GET https://www.clanker.world/api/tokens/estimate-rewards-by-pool-address
Headers:
Query Parameters:
poolAddress
string
Address of the token's liquidity pool
Example Request:
curl -X GET \
'https://www.clanker.world/api/tokens/estimate-rewards-by-pool-address?poolAddress=pool_address' \
-H 'x-api-key: your_api_key'
Example Response:
{
"userRewards": 4051.7574064199907
}
userRewards
number
Estimated rewards value in USD for the specified pool
The rewards value is returned as a floating-point number
Results are estimates and may vary from actual rewards
Values are calculated based on current prices of tokens in the pool
x-api-key: your_api_key