/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='blockNumber'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> ApiBlockNumberByBlockNumberGetAsync(this IEthereumSamuraiAPI operations, long blockNumber, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ApiBlockNumberByBlockNumberGetWithHttpMessagesAsync(blockNumber, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }