Пример #1
0
 public async Task <TonContractRunResult> WaitForRunTransaction(TonContractRunMessage deployMessage, TonMessageProcessingState messageProcessingState,
                                                                bool infiniteWait,
                                                                CancellationToken cancellationToken = default)
 {
     return(await _mediator.Send(
                new GetByParametersRequest <TonContractRunResult>(TonClientMethods.Contract.WaitForRunTransaction, deployMessage, messageProcessingState,
                                                                  infiniteWait), cancellationToken));
 }
Пример #2
0
 public async Task <TonContractRunResult> ProcessRunMessage(TonContractRunMessage @params, CancellationToken cancellationToken = default)
 {
     return(await _mediator.Send(new GetByParametersRequest <TonContractRunResult>(TonClientMethods.Contract.ProcessRunMessage, @params),
                                 cancellationToken));
 }