Skip to main content

Get all NFT ids belonging to an account

GET 

//v1/chain/core/accounts/account/:agentID/nfts

Get all NFT ids belonging to an account

Request

Path Parameters

    agentID stringrequired

    AgentID (Hex Address for L1 accounts | Hex for EVM)

Query Parameters

    block string

    Block index or trie root

Responses

All NFT ids belonging to an account

Schema
    nftIdsstring[]required
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/v1/chain/core/accounts/account/:agentID/nfts");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
Parameters
— pathrequired
— query
ResponseClear

Click the Send API Request button above and see the response here!