Deploy NFT Badge

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

Deploy NFT Badge

POST /api/v1/oauth2/nft/deploy

Headers

Name
Type
Description

Access-Token*

String

access_token

Request Body

Name
Type
Description

contract_name*

String

contract name

nft_name*

String

nft name

app_id*

Int

appid

levels*

String[]

{

"rp": 10,

// Must be image base64 content

badge_url": "data:image/png;base64,",

"internal_note": "internal note"

}

start_date_ts*

String

Seconds timestamp, 0: Not Limit

expiry_date*

String

Seconds timestamp, 0: Not Limit

time_zone*

String

Format must be: +/-HH:mm

{
  "code": 200,
  "data": {
    "tx_hash": "0x6e53dcb3f24d2ad000ed1c45c60fe14b44c2bf3122283464554971840b7496ae",
    // -1: In progress, 0: failed, 1: succeed
    "status": -1,
    "contract_address": ""

  },
  "message": "",
  "msg": "",
  "msgTitle": null
}

  "code": 200,
  "data": {
    "tx_hash": "0x6e53dcb3f24d2ad000ed1c45c60fe14b44c2bf3122283464554971840b7496ae",
    // -1: In progress, 0: failed, 1: succeed
    "status": 1,
    "contract_address": "0xa2CbE4d7f1cF33A5E383aF887f00eF7456888948"

  },
  "message": "",
  "msg": "",
  "msgTitle": null
}

Last updated