SBT List
GET /api/v1/sbt/list
Through this API, you will be able to query the SBTs list held by the user
Header
Field | Type | Required | Remarks |
---|---|---|---|
ApiKey | String | true | ApiKey obtained from the administrator |
Request Parameters
Field | Type | Required | Remarks |
---|---|---|---|
address | String | fasle | EOA Address |
twitterUsername | String | fasle | twitter username |
steamId | String | fasle | steamId |
Request Example
Response Parameters
Field | Type | Remarks |
---|---|---|
code | String | Return code |
desc | String | Return message |
data | List | User's SBT list |
The SBT field consists of the following subfields:
Field | Type | Remarks |
---|---|---|
contractAddress | String | SBT contract address |
sbtName | String | SBT Name |
tokenId | String | tokenId |
rdfData | String | Semantic statement |
imageUrl | String | The image url of SBT |
metadataUrl | String | The metadata url of SBT |
Response Body
Return Code
code | desc | Remarks |
---|---|---|
0 | success | the flag for a successful request |
11601 | failed | this field not support in current version |
11602 | failed | user not found |
Last updated