查询用户持有的NFT

GET /api/v1/nft/list

  • 说明: 查询用户持有的 NFT 列表以及 NFT 元数据

  • Header

Field
Type
Required
Remarks

ApiKey

String

true

从管理员获取的ApiKey

  • Request Parameters

Field
Type
Required
Remarks

address

String

fasle

EOA Address

twitterUsername

String

fasle

twitter username

steamId

String

fasle

steamId

  • Request Example

curl  GET 'https://api.relationlabs.ai/api/v1/nft/list?address=0x9bd286ef4e3d9ec1af6c6ae9da2f0b3617deab13' \
--header 'ApiKey: <ApiKey>'
  • Response Parameters

Field
Type
Remarks

code

String

返回码

desc

String

返回信息

data

List

数据

NFT字段如下:

Field
Type
Remarks

contractAddress

String

NFT合约地址

name

String

NFT Name

tokenId

String

tokenId

imageUrl

String

imageUrl

metadataUrl

String

元数据 url

  • 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