/// <summary> /// Set TxHash to the history operation. /// </summary> /// <param name="id">Identifier of the history operation.</param> /// <param name="txHash">TxHash of the history operation.</param> /// <param name="cancellationToken">A cancellation token that can be used to cancel the work.</param> public async Task SetTxHashAsync(string id, string txHash, CancellationToken cancellationToken = default(CancellationToken)) { var result = await _service.SetTxHashAsync(id, txHash, cancellationToken); Convert <object>(result); }
/// <summary> /// Set TxHash to the history operation. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// Identifier of the history operation. /// </param> /// <param name='txHash'> /// TxHash of the history operation. /// </param> public static ErrorResponse SetTxHash(this IPayHistoryAPI operations, string id = default(string), string txHash = default(string)) { return(operations.SetTxHashAsync(id, txHash).GetAwaiter().GetResult()); }