API for Querying License Rewards
Last updated
x-op-token = header.payload.signature{
"alg": "HS256", // Encryption algorithm, fixed as HS256
"typ": "CHK_OP" // Token type, fixed as CHK_OP
}{
"ak": "", // Issued to nodeOperator's AK
"exp": 1, // Token expiration timestamp in ms, configured by the user
"ip": "", // Client IP, optional
"nonce": 1 // Random number generated by the user
}signature = base64UrlEncode(HmacSHA256.sign(base64UrlEncode(header) + "." + base64UrlEncode(payload), sk)){
"licenseIds": [licenseID1, licenseID2, ...] // "licenseIds": [1003, 1005]
}{
"code": 135000,
"msg": "OK",
"data": {
"dailyReward": {
"1003": 0,
"1005": 0
},
"rewardDate": "2024-12-10"
},
"time": "2024-12-11 05:25:49"
}