SecretNET.Token Namespace

Snip20Querier..::..GetMinters Method

Returns the list of minters that have been configured in the contract (This query need not be authenticated).

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

Syntax


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