Query NFT holders by looprings nftData

流量控制: 每 秒

摘要


HTTP 方法

GET

访问路径

/api/v3/nft/info/nftHolders

功能

Query NFT holders by looprings nftData

API 描述


HTTP头

字段 类型 必须 说明 举例
X-API-KEY string ApiKey "HlkcGxbqBeaF76j4rvPaOasyfPwnkQ
6B6DQ6THZWbvrAGxzEdulXQvOKLrRW
ZLnN"

请求参数

字段 类型 必须 说明 举例
nftData string The Loopring's NFT token data identifier which is a hash string of NFT token address and NFT_ID "0xf7c9323511
86c3a9053f31
3eefa16209c0
18f7f1dba8aa
8ca7100400f7
c31085"
offset integer Number of records to skip 0
limit integer Number of records to return 100

请求示例

HTTP
CURL
GET https://api3.loopring.io/api/v3/nft/info/nftHolders?nftData=0xf7c932351186c3a9053f313eefa16209c018f7f1dba8aa8ca7100400f7c31085&offset=0&limit=100 HTTP/1.1
Host: api3.loopring.io
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh,en;q=0.9
X-API-KEY: sra1aavfa
curl -H "X-API-KEY:sra1aavfa" https://api3.loopring.io/api/v3/nft/info/nftHolders\?nftData\=0xf7c932351186c3a9053f313eefa16209c018f7f1dba8aa8ca7100400f7c31085\&offset\=0\&limit\=100

响应字段

字段 类型 必须 说明 举例
totalNum integer field.totalNum.description /
nftHolders List[Nft
Holder
]
model.nftHolders.description /

响应示例

{
  "totalNum" : integer,
  "nftHolders" : [
    {
      "accountId" : 12345,
      "tokenId" : 0,
      "amount" : "1"
    }
  ]
}

状态码

状态码 描述
100000 Unknown error
100001 Invalid argument
102001 Exchange ID is incorrect
102021 Nonce is invalid
102022 Transfer sender is invalid
102023 Transfer receiver is invalid
102024 Fee token is unsupported
102025 Transfer token isnt consistent with fee token

模型


NftHolder

model.NftHolder.description

字段 类型 必须 说明 举例
accountId integer Sender accountId of the Tx 12345
tokenId integer The Loopring's NFT token identifier. 0
amount string The amount of the NFT token "1"

results matching ""

    No results matching ""