SecretNET.NFT Namespace

Snip721Querier..::..GetIsTransferable Method

IsTransferable is a SNIP-722 query that indicates whether the token is transferable. This query is not authenticated.

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

Syntax


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

Parameters

contractAddress
Type: String
The contract address.
tokenId
Type: String
The token identifier.
codeHash
Type: Nullable<(Of <(<'String>)>)>
CodeHash is (not really) optional and makes a call way faster.

Return Value

SecretQueryContractResult<GetIsTransferableResponse>.