QueryNFT
Query single NFT's details.
Parameters
mintAddress|string
- The address of the NFT which you are planning to query.
action|Action<CommonResponse<SingleNFTResponse>>
- The callback function of this method is used to receive the results.
Returns
response class
- CommonResponse<SingleNFTResponse>
Code Example
string mintAddress = "mint address";MWSDK.Solana.Asset.QueryNFT(mintAddress, (res) => { CommonResponse<SingleNFTResponse> resObj = res; long code = res.code; string message = res.message; string name = res.data.nft.name; //todo...});
Edit this page on GitHub