/// <summary> /// Returns a JSON Object with a public key if found in the Wallet /// </summary> /// <param name="enc_pubkey">HEXASTRING</param> /// <param name="b58_pubkey">String</param> /// <remarks>Note: If use enc_pubkey and b58_pubkey together and is not the same public key, will return an error</remarks> /// <returns>Returns a JSON Object with a "Public Key Object"</returns> public static Task <PublicKey> GetWalletPubKeyAsync(this IPascalCoinClient client, string enc_pubkey = null, string b58_pubkey = null) { return(Task.Run(() => client.GetWalletPubKey(enc_pubkey, b58_pubkey))); }