/// <summary>
 /// Returns a HEXASTRING with decrypted text (a payload) using private keys in the wallet or a list of Passwords (used in "aes" encryption)
 /// </summary>
 /// <param name="payload">HEXASTRING - Encrypted data</param>
 /// <param name="pwds">List of passwords to use</param>
 /// <remarks>If using one of private keys is able to decrypt payload then returns value "key" in payload_method and enc_pubkey contains encoded public key in HEXASTRING</remarks>
 /// <remarks>If using one of passwords to decrypt payload then returns value "pwd" in payload_method and pwd contains password used</remarks>
 /// <returns>Decryped payload</returns>
 public static Task <DecryptedPayload> PayloadDecryptAsync(this IPascalCoinClient client, string payload, string[] pwds = null)
 {
     return(Task.Run(() => client.PayloadDecrypt(payload, pwds)));
 }