get_xsushi_rewards_by_user

get
Get xSushi rewards by user

https://api2.sushipro.io/?action=get_xsushi_rewards_by_user
Request
Response
Request
Query Parameters
action
required
string
get_xsushi_rewards_by_user
address
required
string
User's Ethereum address
Response
200: OK
Example: https://api2.sushipro.io/?action=get_xsushi_rewards_by_user&address=0x4086e3e1e99a563989a9390facff553a4f29b6ee
[
{
"action": "get_xsushi_rewards_by_user",
"chain": "Ethereum",
"number_of_results": 11,
"address": "0x4086e3e1e99a563989a9390facff553a4f29b6ee"
},
[
{
"week": 0,
"amount": 349981.4960451094
},
{
"week": 1,
"amount": 358704.7115728261
},
{
"week": 11,
"amount": 200252.43192331772
},
{
"week": 2,
"amount": 326336.518442477
},
{
"week": 3,
"amount": 407668.3213510876
},
{
"week": 5,
"amount": 862615.2732879813
}
]
]
404: Not Found
[
{
"action": "get_xsushi_rewards_by_user",
"chain": "Ethereum",
"number_of_results": 0,
"error": "No data available",
"address": "0x4086e3e1e99a563989a939acff553a4f29b6ee"
}
]

‚Äč