SecretNET.NFT Namespace

Snip721Querier..::..GetContractConfig Method

ContractConfig returns the configuration values that were selected when the contract was instantiated. See Config for an explanation of the configuration options. This query is not authenticated.

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

Syntax


public Task<SecretQueryContractResult<GetContractConfigResponse>> GetContractConfig(
	string contractAddress,
	Nullable<string> codeHash
)
Public Function GetContractConfig ( _
	contractAddress As String, _
	codeHash As Nullable(Of String) _
) As Task(Of SecretQueryContractResult(Of GetContractConfigResponse))
public:
Task<SecretQueryContractResult<GetContractConfigResponse^>^>^ GetContractConfig(
	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<GetContractConfigResponse>.