SecretNET.NFT Namespace

Snip721Querier..::..GetRegisteredCodeHash Method

RegisteredCodeHash will display the code hash of the specified contract if it has registered its receiver interface and will indicate whether the contract implements BatchReceiveNft.

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

Syntax


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

Parameters

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

Return Value

SecretQueryContractResult<GetRegisteredCodeHashResponse>.