Deploy NFT Badge

Deploy the NFT badge with start date, end date, NFT name, and contract name

Deploy NFT Badge

POST /api/v1/oauth2-app/deploy_nft

Headers : appid: {application id}

appkey: {application key}

Note:

levels value must be less than or equal to 5

min_rp need to be greater than last level's max_rp

Request Body

NameTypeDescription

appid

String

default header appid

chainid

String

default header chainid

collection

String

category

time_zone*

String

Format must be: +/-HH:mm

start_date_ts*

String

Seconds timestamp, 0: Not Limit

expiry_date*

String

Seconds timestamp, 0: Not Limit

levels*

String[]

{

"name":"level 1 badge name",

"min_rp": 1,

"max_rp": 10,

"badge_uri":/api/v1/oauth2-app/upload_badge_image uri",

"desc":"description",

"internal_note": "internal note"

},

{
  "code": 200,
  "data": {
    "contract_address": "nft contract address",
    "tx": "tx hash"
  },
  "msg": ""
}

Last updated