/// <summary> /// Decodes an encoded public key /// </summary> /// <param name="enc_pubkey">HEXASTRING with encoded public key</param> /// <param name="b58_pubkey">String. b58_pubkey is the same value that Application Wallet exports as a public key</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> DecodePubKeyAsync(this IPascalCoinClient client, string enc_pubkey, string b58_pubkey) { return(Task.Run(() => client.DecodePubKey(enc_pubkey, b58_pubkey))); }