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)); }
public async Task <TonContractRunResult> ProcessRunMessage(TonContractRunMessage @params, CancellationToken cancellationToken = default) { return(await _mediator.Send(new GetByParametersRequest <TonContractRunResult>(TonClientMethods.Contract.ProcessRunMessage, @params), cancellationToken)); }