Skip to main content

Get Total Revenue Data

Rate Limits

API calls are limited to 4 calls per minute

Details

ItemDescription
Requesthttp GET/POST
Encoding FormatUTF-8
URLhttps://api.ultronscan.io/third/getTotalRewards?address=ux...

Request URL parameters

address: "ux...", //reward address
type: ""/1/2/3, //Reward type, optional 1: PoSR reward 2: PoTS 3: POS delegation reward Empty: All rewards for the address

JSON response body

{
"result": {
"address": "ux...", //reward address
"rewards":[ //reward list
{
"address": "ux...", //Storage node address / POS node address
"rewardAmount": 100000000000000, //Total revenue reward amount (including burnt)
"burntAmount": 0, //burntAmount
"type": 1/2/3, //Reward type, optional 1: PoSR reward 2: PoTS 3: POS delegation reward
}
]
},
"message": "successful",
"statusCode": 0
}