/// <summary> /// Returns a JSON Object with a block information /// </summary> /// <param name="block">Block number (0..blocks count-1)</param> /// <returns>Returns a JSON Object with a "Block Object"</returns> public static Task <Block> GetBlockAsync(this IPascalCoinClient client, uint block) { return(Task.Run(() => client.GetBlock(block))); }