NFT RP Upgrade

Upgrade the Reputation Power value with this api

NFT RP Upgrade

POST /api/v1/oauth2-app/nft/upgrade_rp

Headers:

appid: application id

appkey: application key

Request Body

NameTypeDescription

contract_address*

String

contract address

eth_address*

String

eth address

rp*

Number

1

tx_await*

Boolean

true

is_increase*

Boolean

true - RP Increment, false-RP value

{
    "code": 200,
    "data": {
        "tx_hash": "0x2ad943553c66de0bd49204f20e3478ddd1280b4bcf97618be75b79f43982fb85"
    },
    "msg": ""
}
//is_increase =true
{
    "code": 200,
    "data": {
        "tx_hash": [
            {
                "address": "0x6282bc1371BFB5370Cd53eAc081B2a860AC85c47",
                "err": "",
                "hash": "0xacd39ae610e8590c9c8853288056df94e3a210e3ad602863bd1c1f05617c1d5f"
            },
            {
                "address": "0xf1181bd15E8780B69a121A8D8946cC1C23972Bd4",
                "err": "",
                "hash": "0xe2d7b1d74f25c4ef4d0767cc73c9754c00854fbee72e071492e871b8e60f3d60"
            }
        ]
    },
    "msg": ""
}

Last updated