/// <summary> /// Returns coins balance. /// </summary> /// <param name="enc_pubkey">HEXASTRING (optional). If provided, return only this public key balance</param> /// <param name="b58_pubkey">String (optional). If provided, return only this public key balance <remarks>If use enc_pubkey and b58_pubkey together and is not the same public key, will throw an error</remarks></param> /// <returns>Returns a PASCURRENCY value with maximum 4 decimals</returns> public static Task <decimal> GetWalletCoinsAsync(this IPascalCoinClient client, string enc_pubkey = null, string b58_pubkey = null) { return(Task.Run(() => client.GetWalletCoins(enc_pubkey, b58_pubkey))); }