Snip721Querier..::..GetNftInfo Method
NftInfo returns the public metadata of a token.
It follows CW-721 specification, which is based on ERC-721 Metadata JSON Schema.
At most, one of the fields token_uri OR extension will be defined.
Namespace:
SecretNET.NFTAssembly: SecretNET.NFT (in SecretNET.NFT.dll)
Syntax
public Task<SecretQueryContractResult<GetNftInfoResponse>> GetNftInfo( string contractAddress, string tokenId, Nullable<string> codeHash )
Public Function GetNftInfo ( _ contractAddress As String, _ tokenId As String, _ codeHash As Nullable(Of String) _ ) As Task(Of SecretQueryContractResult(Of GetNftInfoResponse))
public: Task<SecretQueryContractResult<GetNftInfoResponse^>^>^ GetNftInfo( String^ contractAddress, String^ tokenId, Nullable<String^> codeHash )
Parameters
- contractAddress
- Type: String
The contract address.
- tokenId
- Type: String
ID of the token being queried.