public async Task <IActionResult> CheckSign([FromBody] CheckSignModel model)
        {
            if (!ModelState.IsValid)
            {
                throw new ClientSideException(ExceptionType.WrongParams, JsonConvert.SerializeObject(ModelState.Errors()));
            }

            await Log("CheckSign", $"Begin Process {this.GetIp()}", model);

            BigInteger amount = BigInteger.Parse(model.Amount);
            var        result = _exchangeContractService.CheckSign(model.Id, model.CoinAdapterAddress,
                                                                   _addressUtil.ConvertToChecksumAddress(model.FromAddress), _addressUtil.ConvertToChecksumAddress(model.ToAddress), amount, model.Sign);

            await Log("CheckSign", "End Process", model, result.ToString());

            return(Ok(new CheckSignResponse {
                SignIsCorrect = result
            }));
        }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// </param>
 public static object ApiExchangeCheckSignPost(this IEthereumApi operations, CheckSignModel model = default(CheckSignModel))
 {
     return(operations.ApiExchangeCheckSignPostAsync(model).GetAwaiter().GetResult());
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> ApiExchangeCheckSignPostAsync(this IEthereumApi operations, CheckSignModel model = default(CheckSignModel), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ApiExchangeCheckSignPostWithHttpMessagesAsync(model, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }