Get NFT info
Item
Description
Methods
Method
Type
Description
Requirement
//Returns the info for the specified NFT ID
List<TokenNftInfo> nftInfos = new TokenNftInfoQuery()
.setNftId(nftId)
.execute(client);
//v2.0.14//Returns the info for the specified NFT ID
const nftInfos = await new TokenNftInfoQuery()
.setNftId(nftId)
.execute(client);
//v2.0.28//Returns the info for the specified NFT ID
nftInfo, err := NewTokenNftInfoQuery().
SetNftID(nftID).
Execute(client)
//v2.1.16Last updated