Badge favourite

Badge collection

POST /api/v1/oauth2/user/favorite_badge

For user used wallet mint transaction

Headers

Name
Type
Description

Access-Token*

String

access token

Request Body

Name
Type
Description

contract_address*

String

badge contract address

favorite

Boolean

default =true false when you want to cancel the collection

{
    "code": 200,
    "data": "favorite success",
    "msg": ""
}

Get user badge collection list

GET /api/v1/oauth2/user/favorite_badge

For ex: "http://me.nuvosphere.io/#/claim-badge?code=0x88f8ff6c7259031303c146cb7caa3a24055cdbb7,0ca2e6b4f2be922270dda4e95dcc3c03" The code before "," is the badge address. While after"," is the code address

Query Parameters

Name
Type
Description

page_size*

String

page_no*

String

Headers

Name
Type
Description

Access-Token*

String

access token

check badge collection status

POST /api/v1/oauth2/user/badge/check_favorite

Headers

Name
Type
Description

Access-Token*

String

access token

Request Body

Name
Type
Description

contract_address*

String/Array

badge conract

Last updated