Badge Query Data

Upgrade the Reputation Power value with this api

Badge Query Data

POST /api/v1/oauth2-app/badge/users

Headers:

appid: application id

appkey: application key

Request Body

Name
Type
Description

chain_id*

Number

chain id

contract_address*

String

badge contract address

start_rp*

Number

initial RP value

end_rp*

Number

end RP value

{
    "code": 200,
    "data": [
        {
            "RP": "11",
            "userAddress": "0x6282bc1371bfb5370cd53eac081b2a860ac85c47",
            "userId": "0x6282bc1371bfb5370cd53eac081b2a860ac85c47"
        },
        {
            "RP": "2",
            "userAddress": "0xf1181bd15e8780b69a121a8d8946cc1c23972bd4",
            "userId": "0xf1181bd15e8780b69a121a8d8946cc1c23972bd4"
        }
    ],
    "msg": ""
}

Last updated