Example #1
0
        public async Task <TransactionResult> GetTransactionResultAsync(Hash txId)
        {
            var trKey = DataPath.CalculatePointerForTxResult(txId);

            return(await _dataStore.GetAsync <TransactionResult>(trKey));
        }
Example #2
0
 public async Task AddTransactionResultAsync(TransactionResult tr)
 {
     var trKey = DataPath.CalculatePointerForTxResult(tr.TransactionId);
     await _dataStore.InsertAsync(trKey, tr);
 }