Snip20Querier..::..GetBalance Method
Gets the balance (This query MUST be authenticated).
Returns the balance of the given address. Returns "0" if the address is unknown to the contract.
Namespace:
SecretNET.TokenAssembly: SecretNET.Token (in SecretNET.Token.dll)
Syntax
public Task<SecretQueryContractResult<GetBalanceResponse>> GetBalance( string contractAddress, Nullable<string> walletAddress, Nullable<string> viewingKey, Nullable<Permit> permit, Nullable<string> codeHash )
Parameters
- contractAddress
- Type: String
The contract address.
- permit
- Type: Nullable<(Of <(<'Permit>)>)>
Authenticate with permit.