/// <summary>
 /// Find accounts by name/type and returns them as an array of Account objects
 /// </summary>
 /// <param name="name">If has value, will return the account that match name</param>
 /// <param name="type">If has value, will return accounts with same type</param>
 /// <param name="status">If has value, will filter account with status as follows: 0 = all accounts, 1 = accounts for public or private sale only, 2 = accounts for private sale only, 3 = accounts for public sale only</param>
 /// <param name="start">Start account (by default, 0)</param>
 /// <param name="max">Max of accounts returned in array (by default, 100)</param>
 /// <returns></returns>
 public static Task <Account[]> FindAccountsAsync(this IPascalCoinClient client, string name, uint?type = null, uint?status = null, uint?start = null, uint?max = null)
 {
     return(Task.Run(() => client.FindAccounts(name, type, status, start, max)));
 }