Get the NFT data by an ID
GET//v1/chain/core/accounts/nftdata/:nftID
Get the NFT data by an ID
Request
Path Parameters
nftID stringrequired
NFT ID (Hex)
Query Parameters
block string
Block index or trie root
Responses
- 401
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (auto)
Schema
errorstringrequired
missingPermissionstringrequired
{
"error": "error",
"missingPermission": "missingPermission"
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/v1/chain/core/accounts/nftdata/:nftID");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear