예제 #1
0
        public ResultWrapper <TransactionPoolStatus> txpool_status()
        {
            var poolInfo   = _blockchainBridge.GetTransactionPoolInfo();
            var poolStatus = new TransactionPoolStatus(poolInfo);

            return(ResultWrapper <TransactionPoolStatus> .Success(poolStatus));
        }
예제 #2
0
 public ResultWrapper <TransactionPoolStatus> txpool_status()
 => ResultWrapper <TransactionPoolStatus> .Success(
     _modelMapper.MapTransactionPoolStatus(_blockchainBridge.GetTransactionPoolInfo()));