delegatorRewards
Query a user's daily HYPE staking rewards (delegation + commission).
POST Request
Field
Type
Description
curl -X POST https://api.hydromancer.xyz/info \
-H "Authorization: Bearer $HYDROMANCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "delegatorRewards",
"user": "0x2a618f4f3f089c873af8cb674db2e43ae123d1cc"
}'import requests
import os
response = requests.post(
'https://api.hydromancer.xyz/info',
json={
'type': 'delegatorRewards',
'user': '0x2a618f4f3f089c873af8cb674db2e43ae123d1cc'
},
headers={
'Authorization': f'Bearer {os.environ.get("HYDROMANCER_API_KEY")}',
'Content-Type': 'application/json'
}
)
print(response.json())Response
Field
Type
Description
Last updated