public Task <string> SendTransactionAsync(string contractAddress, TContractMessage functionMessage = null, CancellationToken cancellationToken = default(CancellationToken)) { return(_transactionSenderHandler.SendTransactionAsync(contractAddress, functionMessage, cancellationToken)); }
public async Task <TransactionReceipt> SendTransactionAsync(string contractAddress, TFunctionMessage functionMessage = null, CancellationTokenSource cancellationTokenSource = null) { if (functionMessage == null) { functionMessage = new TFunctionMessage(); } SetEncoderContractAddress(contractAddress); var transactionHash = await _contractTransactionSender.SendTransactionAsync(contractAddress, functionMessage).ConfigureAwait(false); return(await TransactionManager.TransactionReceiptService.PollForReceiptAsync(transactionHash, cancellationTokenSource).ConfigureAwait(false)); }
public Task <string> SendTransactionAsync(string contractAddress, TContractMessage functionMessage = null) { return(_transactionSenderHandler.SendTransactionAsync(contractAddress, functionMessage)); }