public string?GetBlockTransactionsCountByNumber(string blockTag) { var blockNumber = GetBlockNumberByTag(blockTag); if (blockNumber == null) { return(Web3DataFormatUtils.Web3Number(_transactionPool.Size())); } var block = _blockManager.GetByHeight((ulong)blockNumber); return(block == null ? null : Web3DataFormatUtils.Web3Number((ulong)block !.TransactionHashes.Count)); }