Badge claim
Get claimed badge proof
GET
/api/v1/oauth2/badge/claiminfo
For user used wallet mint transaction
Query Parameters
Name
Type
Description
white_code*
String
white code
claim_type
Number
default =1
Headers
Name
Type
Description
Access-Token*
String
access token
Scan and claim
POST
/api/v1/oauth2/badge/scan_mint
For ex: "http://me.nuvosphere.io/#/claim-badge?code=0x88f8ff6c7259031303c146cb7caa3a24055cdbb7,0ca2e6b4f2be922270dda4e95dcc3c03" The code before "," is the badge address. While after"," is the code address
Headers
Name
Type
Description
Access-Token*
String
access token
Request Body
Name
Type
Description
contract_address*
String
badge contract address
code*
String
claimed code
wait
Boolean
default =true false then will base on the return task ID and search the result.
Get task status and result
GET
/api/v1/oauth2/task/result
Query Parameters
Name
Type
Description
task_id*
String
task id
Headers
Name
Type
Description
Access-Token*
String
access token
Last updated