SecretNET.NFT Namespace

Snip721Querier..::..GetIsUnwrapped Method

IsUnwrapped indicates whether the token has been unwrapped. If sealed metadata is not enabled, all tokens are considered to be unwrapped. This query is not authenticated..

Namespace:  SecretNET.NFT
Assembly:  SecretNET.NFT (in SecretNET.NFT.dll)

Syntax


public Task<SecretQueryContractResult<GetIsUnwrappedResponse>> GetIsUnwrapped(
	string contractAddress,
	string tokenId,
	Nullable<string> codeHash
)
Public Function GetIsUnwrapped ( _
	contractAddress As String, _
	tokenId As String, _
	codeHash As Nullable(Of String) _
) As Task(Of SecretQueryContractResult(Of GetIsUnwrappedResponse))
public:
Task<SecretQueryContractResult<GetIsUnwrappedResponse^>^>^ GetIsUnwrapped(
	String^ contractAddress, 
	String^ tokenId, 
	Nullable<String^> codeHash
)

Parameters

contractAddress
Type: String
The contract address.
tokenId
Type: String
The ID of the token whose unwrapped status is being queried.
codeHash
Type: Nullable<(Of <(<'String>)>)>
CodeHash is (not really) optional and makes a call way faster.

Return Value

SecretQueryContractResult<GetIsUnwrappedResponse>.